Jenkins: upgrade SCM without starting build?

We have an SCM-controlled project that polls a repo every few minutes. In general, the workflow is great, but sometimes I need to make new changes to the server repository without starting the build in Jenkins (for various reasons: long builds, small changes, simultaneous commits, etc.).

I already set a quiet period, and sometimes I just start and stop the build (which is inconvenient), so Jenkins pulls the changes and does not start the build later.

So, is there any plugin that allows either:

  • Manually cancel a future assembly (before it is called by a SCM poll participant)
  • Manually update the project SCM repository without starting the build.
+3
source share
3

:

  • , SCM , -. SCM , .
  • " " Subversion , , " ".
+7

( , ): . ( DO_BUILD). . - , DO_BUILD FALSE.

A variant of the same idea: you do your survey in one task (trigger), which calls your main task through a parameterized trigger plug- in to build a step. This assembly step may be due to a parameter. Please note that in this case you will either have to use the same custom workspace for both collections, or perform a manual check (for example, at the shell assembly step) in the main task.

+1
source

All Articles