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

How to trigger jenkins after post-build deliver

We now have the A stream and B stream, when the Jenkins build succeed for the A stream, we want the changes deliver to the B stream and then trigger the Jenkins build automatically.

We have setup the ‘Post-build deliver’ in the A stream build definition, and it does push the changes to B stream after the build, but the B does not accept those changes automatically, thus no build trigger as well.

How to setup the auto acceptance and trigger the Jenkins build?

 

0 votes



2 answers

Permanent link

There are a few options.
1. In the Jenkins job for Stream A, you could trigger a Jenkins build of Stream B after invoking the post build deliver step.
2. Setup polling in the Jenkins job for Stream B. This will detect changes from post build deliver of Stream A and trigger a Jenkins build.

0 votes


Permanent link

Thanks Lakshmi. But I try the method 1, trigger Stream B build but it did not accept the changes that pushed from stream A. So I don't think method 2 will work.

0 votes

Comments

Method 2 is orthogonal to method 1, either one or the other should be in place. 


In Method 1, did you trigger the build for stream B after invoking the RTC post build deliver step in the Jenkins build for Stream A? Please note the support for post build deliver in Jenkins requires 1.2.0.3 and RTC 6.0.4 or higher.

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
× 12,027

Question asked: Dec 19 '17, 2:56 p.m.

Question was seen: 3,078 times

Last updated: Dec 20 '17, 10:07 a.m.

Confirmation Cancel Confirm