How to enable debug properties on the Build Processes in Bamboo
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
This article will provide you with instructions on how to debug builds executed by Bamboo Tasks.
Solution
The goal is to enable debug or verbose logging during the build execution. For that add the following properties to your Build tasks' "Goals, Target, Commands, etc" fields as below:
Build Task | Command line option |
---|---|
Apache Ant | -d/-debug, -verbose |
Maven | --debug, -X |
Grails | -debug-jvm, -verbose |
NAnt | -debug, -verbose |
MSBuild | -verbosity/-v |
Fastlane | --verbose |
For more information check the builder configuration page.