Rob Spieldenner
Rob Spieldenner

Reputation: 1698

How to make Hudson promote a build after the completion of chained downstream jobs?

I'm using the Hudson promoted build plugin to try an automatic deploy if all of the maven projects are good.

My setup is similar to the following

Hudson job creates a version control tag and then triggers downstream builds of projects A and B. A triggers a downstream project Z.

I currently have the promoted builds plugin listening for success of A,B,Z. But no promotion ever happens.

I currently don't have the project triggering all 3 since there is no point in building Z before A.

Any ideas?

Upvotes: 3

Views: 3387

Answers (2)

peritus
peritus

Reputation: 3840

You could try the Build Pipeline Plugin, or take some inspiration from Kohsuke's recent blog post "Doing choreography/workflow with Jenkins CLI" (login with CloudBees/Google/GitHub account required) which should give you more freedom in orchestrating your jobs.

Upvotes: 1

Kohsuke Kawaguchi
Kohsuke Kawaguchi

Reputation: 3617

I think you need to configure fingerprinting so that Jenkins can keep track of which downstream build tested which upstream build.

Upvotes: 2

Related Questions