There are two ways to accomplish this with Conditional Build Step Plugin 
and one way to script. And believe me mate, you don't want to take the road 
to scripting it.
Conditional Build Step Plugin is perfect for this.


   - You can set up your checkboxes on the build job page by parametrzing 
   the job and then let the Conditional Build Step Plugin evaluate the boolean 
   values. This is a bit of work when setting it up but may be worth depending 
   on how often you have to repeat your steps.
   - You enter each time before build a job the configuration and set the 
   execution of the build step to always or never.

There is no easier way to achieve this.

Take care
Jan

Am Freitag, 18. Mai 2012 14:24:17 UTC+2 schrieb Fisher, Allen:
>
> Hi All--
>
> I'm currently on a team that's creating a nice, new CI environment. One of 
> the things I'd like to be able to do is turn on/off build steps. The reason 
> being is that if we're doing some maintenance/rework on a given piece of 
> the process (i.e. tweaking an automated test framework or integrating 
> something new into the process) we still want builds to flow. The 
> not-so-graceful thing I've been doing is removing the build step and 
> re-adding it.
>
> I looked at the Conditional Build Step Plugin [1], but if there's a plugin 
> that would give me checkbox-esque simplicity that would be really sweet.
>
> Thanks!
>
> Allen
>
> Allen Fisher
> Continuous Integration Engineer
> MakeMusic, Inc
> E: afis...@makemusic.com
> P: 952.906.3664
> S: allen_fisher
> W: www.makemusic.com
>
> [1] 
> https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin
>

Reply via email to