[Bamboo Knowledge Base]
Please note this Bamboo functionality relates only to the Maven Task and Ant Task outputs.
If your plan's build logs indicate that your Maven or Ant builds are passing but Bamboo is reporting them as failed (or vice-versa), it could be that:
Build process for 'ABC Application - XYZ Build' returned with return code = 1
.)If your builds produce atypical or non-standard output, you can make Bamboo check for text other than 'BUILD SUCCESS' or 'BUILD FAILED' in your build logs. An additional system property is available to specify how far back in the logs Bamboo checks for these text markers.
System Property | Description | Default Value |
---|---|---|
| Specifies the text (or string) that Bamboo looks for in the build log to determine if the build was successful | BUILD SUCCESS |
| Specifies the text (or string) that Bamboo looks for in the build log to determine if the build failed | BUILD FAILED |
| Specifies the number of lines from the end of the builder log in which to check for the values of | 250 |
For instructions on how to configure a system property, please refer to the Configuring system properties page.