It's all about the answers!

Ask a question

Automatic build trigger to Jenkins based on maturity


Rakesh A (3110) | asked Aug 18, 5:21 a.m.
Hello Team,
       I have explored automatic build trigger available in build definitions in 6.0.6.1 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 (59.0k23642) | answered Aug 18, 7:04 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 

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.