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

How does Jenkins Team Concert Plugin map Jenkins result values to RTC build status values?

When a build is requested from an RTC build definition which uses the Jenkins Team Concert Plugin to run a Jenkins job, what determines the build status reported for the RTC build result?
And is there any configurable option to change the default mapping behaviour (e.g. to cause Jenkins UNSTABLE result to be reported as an RTC WARNING status value)? 

Jenkins javadoc for hudson.model.Result lists supported values as ABORTED, FAILURE, NOT_BUILT, SUCCESS & UNSTABLE. Which are different to values supported for status or buildStatusProperty in RTC (based on "Ant Attribute reference"): OK, INFO, WARNING & ERROR. So what is the mapping between them?


FYI: Our experience is as follows:
Jenkins FAILURE -> RTC build status ERROR
Jenkins SUCCESS -> RTC build status OK
Jenkins UNSTABLE (no build errors, but failing JUnit tests) - > RTC Build status OK
(The last case is different to what was reported in a 2008 post "How to view as a successful build an unstable jenkins job").
Thanks

0 votes


Be the first one to answer this question!

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
× 151

Question asked: Apr 10 '18, 6:49 a.m.

Question was seen: 1,948 times

Last updated: Apr 10 '18, 6:49 a.m.

Confirmation Cancel Confirm