Is there a way to wait for other builds to finish?

1,052 views
Skip to first unread message

Brad

unread,
Mar 1, 2012, 12:23:09 PM3/1/12
to Jenkins Users
I have several projects that I want to run in parallel and when all of
them done send out an email, however I can't figure out a way to do
this.
Here is a simplified scenario... In reality there are 6 jobs that need
to run at the same time:

Job 1 \
> When Done -> Send Email
Job 2 /


I tried the join plugin but it doesn't wait for the jobs and I looked
at the command line api but didn't see a way to see if a job is
running.... Is there either a plugin that would do this that I'm
missing or an api call that I could use to see if a job is still
running?

Thanks,

Brad

Andrew Melo

unread,
Mar 1, 2012, 12:40:49 PM3/1/12
to jenkins...@googlegroups.com
The Join plugin *should* work. What did you see when you tried it?
 

Thanks,

Brad



--
--
Andrew Melo

Brad

unread,
Mar 1, 2012, 12:49:24 PM3/1/12
to Jenkins Users
It just exited immediately. I added a job for it to trigger and it
just started that job right away. I'm using the Trigger/call builds on
other projects to call my jobs. With the block option unchecked if
that helps any

On Mar 1, 11:40 am, Andrew Melo <andrew.m...@gmail.com> wrote:

Brad

unread,
Mar 1, 2012, 7:40:52 PM3/1/12
to Jenkins Users
I just looked into the join plugin again and it appears to be what I
want.... I wasn't expecting the job to finish right away like it
did.... I thought it would wait until the other jobs were done and
then kick off the join job.

Maven User

unread,
Mar 2, 2012, 9:06:10 AM3/2/12
to Jenkins Users
If this doesn't fit the bill, you can always have a job aggregate
several other jobs success/failure(s) and mail based on those results.

Chris Withers

unread,
Mar 2, 2012, 2:12:23 PM3/2/12
to jenkins...@googlegroups.com, Brad
You might get what you want using the Build Promotion plugin.

cheers,

Chris

> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________

--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk

Reply all
Reply to author
Forward
0 new messages