Eugene A
Eugene A

Reputation: 330

Is it possible to customize Jenkins job status?

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

Answers (2)

HX_unbanned
HX_unbanned

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

krampstudio
krampstudio

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

Related Questions