Optional build step that can be run on-demand from the build output page

244 views
Skip to first unread message

Wade C

unread,
Mar 12, 2013, 4:10:19 PM3/12/13
to jenkins...@googlegroups.com
Perhaps I'm going about this the wrong way, but we have a gerrit monitor build job that, as the last step, creates an image for deployment.  The thing is, on this job, we're mostly using it for build testing, and the deployment step will not fail if the build has succeeded up to that point.  The image generation step is quite time-consuming, so we'd like to avoid it in general.  We usually run a separate job to generate QA images for deployment.

In the rare case, though, QA will want to have the image to deploy.  Is there a way to specify, for a given build that has completed, that an extra step happen, or perhaps to trigger a linked job that runs in the same workspace based on some paramters from the monitor job?

blaz

unread,
Mar 13, 2013, 9:25:22 AM3/13/13
to jenkins...@googlegroups.com

Eric Pyle

unread,
Mar 13, 2013, 10:01:10 AM3/13/13
to jenkins...@googlegroups.com
One option would be the Batch Task Plugin. You could also look at the Build Pipeline Plugin, which allows manual triggering of a downstream job.

Eric


On 3/12/2013 4:10 PM, Wade C wrote:
Perhaps I'm going about this the wrong way, but we have a gerrit monitor build job that, as the last step, creates an image for deployment.  The thing is, on this job, we're mostly using it for build testing, and the deployment step will not fail if the build has succeeded up to that point.  The image generation step is quite time-consuming, so we'd like to avoid it in general.  We usually run a separate job to generate QA images for deployment.

In the rare case, though, QA will want to have the image to deploy.  Is there a way to specify, for a given build that has completed, that an extra step happen, or perhaps to trigger a linked job that runs in the same workspace based on some paramters from the monitor job?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Wade Carpenter

unread,
Mar 13, 2013, 4:43:27 PM3/13/13
to jenkins...@googlegroups.com
Thanks both, I'll check in to these plugins and see which one makes
the most sense.
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-users/0eVennMDGF4/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
Reply all
Reply to author
Forward
0 new messages