Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If splitting the job into 2 jobs is not an option, you may consider<br> <a href="https://wiki.jenkins-ci.org/display/JENKINS/Promoted+Builds+Plugin" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/Promoted+Builds+Plugin</a><br> (this is pre-installed with Jenkins I believe). This will make the "promotion" steps a separate and repeatable process. You can configure it to run automatically after build, and then manually on demand when needed. </p> <p>If your post-build steps require access to build artifacts, you will need to use <a href="https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/Copy+Artifact+Plugin</a> to copy the build artifacts to the promotion's workspace.</p> <p>Another solution is to <strong>skip build step</strong> based on parameter. Have a <strong>Choice</strong> parameter called <em>SkipBuild</em> or something. Set the possible values to TRUE/FALSE, default to FALSE</p> <p>In your <strong>Build</strong> step, before actually building, check if <em>SkipBuild</em> is set to TRUE. If TRUE, exit 0, if FALSE (which is default) then run build command.</p> <p>This way, automatic Build executions will always run the Build step. But you can also manually run the build and select "SkipBuild=TRUE" to skip the build step and go straight to post-build actions. If you need to skip some post-build actions, you would need to implement this <em>SkipBuild</em> parameter there as well.</p> <p>Careful however as subsequent executions of the build, even with "SkipBuild=TRUE" will still perform an SVN checkout, so your workspace may change.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload