It's all about the answers!

Ask a question

Automatic build trigger to Jenkins based on maturity

Rakesh A (33433) | asked Aug 18 '21, 5:21 a.m.
Hello Team,
       I have explored automatic build trigger available in build definitions in like 'Accept latest changes before loading' & 'Build only if there are changes accepted'.

I am looking for a below trigger possibilities:
1. Auto trigger a build by a state change in an ALM work-item
2. Auto trigger a build on creating baseline / snapshot

Is it possible currently ? or are there any such features introduced in 7.x.x ?

One answer

permanent link
Ralph Schoon (63.2k33646) | answered Aug 18 '21, 7:04 a.m.


I can only answer 1. The Extensions workshop shows how to request a Jazz build based on a work item (state) change. Since there is a EWM-Jenkins build integration that allows to request a build in EWM and the build is then performed in Jenkins, the very same extension works with Jenkins. It is just necessary to set up a Jenkins build engine in EWM and a related build definition. 

If that is not sufficient, you would be able to use the Jenkins API in your own extension, so it depends on which operations you can use to trigger an extension.

Your answer

Register or 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.