Hey everyone!
I have an error in my console output for a build:
git checkout -B xxxxxx
…
error: The following untracked working tree files would be overwritten by checkout:
…
Could not merge from xxxxx to branch yyyyyyyy, err=hudson.AbortException: script returned exit code 1
However, this err=hudson.AbortException: script returned exit code 1 does not trigger a failure of the build or any exception in the summary of the stage
*** Stage Test Result (SUCCESS) ***
Errors: 0
Based on my check this is the intended (I mean get an error/fail signal of build)
I’m I wrong with my assumption or is this not working properly?
What else can I do to maybe catch that error and signal the build as Failed?
Thank you very much!