Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Can a single build definition be used in 2 different jenkins joba?

Can a single build definition be used in 2 different jenkins jobs? What are the implications?

1 vote



One answer

Permanent link
Rainy,

From Jenkins I believe you can assign the same build definition to any number of jobs.

The obvious implication is that the build definition has most of the configuration (what workspace, components, load rules, etc...) so you won't be able to tailor a per-job configuration (or maybe that is your intent here.)

The other implication is that when you double-click the Build Definition to show the history, you'll get a scattered mix of various builds from differently-named Jenkins jobs and your build trend won't make much sense (you could have had 8 'green' successful builds from one job, 1 'red' failed job from another.)

I'm not sure if the build definition will allow multiple subscribed jobs or if it may queue against Jenkins, I haven't tested locally.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121
× 562
× 151

Question asked: Aug 06 '14, 4:37 a.m.

Question was seen: 4,539 times

Last updated: Aug 07 '14, 2:48 p.m.

Confirmation Cancel Confirm