-
Bug
-
Resolution: Fixed
-
Medium
-
2.0.5
- duplicates
-
BAM-1991 "BUILD SUCCESSFUL" appearing shortly before a final "BUILD FAILED" message is misinterpreted as a successful build
-
- Closed
-
- is cloned from
-
BAM-2835 Bamboo should look for the BUILD FAILED message along with the BUILD SUCCESSFUL message to determine build out come.
-
- Closed
-
- relates to
-
BAM-1849 Allow users to define the criteria for their Maven/Ant build outcomes.
- Closed
-
BAM-2555 Configurable success criteria for builds
- Closed
- was cloned as
-
BAM-4116 Use cmd.exe to execute bat files in script and maven builders
- Closed
My comment copied from BSP-1916:
The problem is in the Windows shell. Take this piece of code:
When executed it displays the following behaviour:
Once the code is changed to this:
output is different:
Windows shell does no longer recognize the non-zero exit code probably as the last command executed was "goto" which was executed successfully. However when you call the script using call command it works as expected.
It looks like this is the solution to be implemented in Bamboo.