Making Hudson job depend on another job

Posted by Jonik on Stack Overflow See other posts from Stack Overflow or by Jonik
Published on 2010-04-20T11:02:03Z Indexed on 2010/04/20 11:03 UTC
Read the original article Hit count: 542

Filed under:
|

I have two Hudson jobs:

  1. Upload
  2. Launch-instance

I want to make Launch-instance dependent on the other one, so that triggering Launch-instance automatically causes Upload to be run first. Can I achieve this using Hudson's built-in features or with a plugin?

Note that I do not want Upload to always trigger Launch-instance, which is what the "Build after other projects are built" option on Launch-instance would do. What I want is more analogous to how depends attribute works for an Ant target.

© Stack Overflow or respective owner

Related posts about hudson

Related posts about build-automation