Reputation: 330
I am running a test suite (Java, Maven profiles) using a Jenkins job. I would like to update build status mid-execution to see if everything goes well so far.
The problem is, I want more build execution statuses (like Yellow/Warning) - is there any way, preferably without additional plug-ins, to add and customize their conditions?
Upvotes: 3
Views: 2688
Reputation: 597
Customize - yes, by using
java -jar cli.jar set-build-result <stable|unstable|failed>
(for security enabled jenkins, see: https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+CLI) ;
Add - no. :(
Upvotes: 2
Reputation: 3611
I would say no you can't do it. But you can use another build strategy: split your job in smaller jobs, driven by another top level job.
Upvotes: 1