-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
CloudBees Jenkins Enterprise
I'd like to exit our pipeline early if It detects certain string in the last commit.
If it detects the string i'm using the following code to change the buildStatus to "NOT_BUILD".
`currentBuild.result = "NOT_BUILD";`
Unfortunately it is still failing the commit in bitbucket. Were I would expect it to not set a status at all.