-
Bug
-
Resolution: Fixed
-
Low
-
5.14.1, 6.1.0
-
Severity 3 - Minor
-
1
-
Steps to Reproduce
- Add the system property -Datlassian.bamboo.build.disable=true to the Bamboo JVM
- Configure a build plan for each of the following triggers:
- Scheduled
- Single daily build
- Remote Trigger
- Repository Polling
- Bitbucket Server repository triggered
Expected Results
No plan will be triggered according to the description "Disable building plans globally in Bamboo"
since the description of this system var is the following:
public static final SystemProperty BUILDING_DISABLED
Disable building plans globally in Bamboo
- Default : false
- Usage:
- env : atlassian.bamboo.build.disable="true"
- java: -Datlassian.bamboo.build.disable=true
BUILDING_DISABLED - Class SystemProperty - docs.atlassian.com
Actual Results
Plans with the following triggers will run:
- Scheduled
- Single daily build
Plans will:
- Remote Trigger
Will not run but will provide a false feedback to whoever tries to trigger it:$ curl --user admin:passwd -H "X-Atlassian-Token:no-check" -X POST http://localhost:8085/bamboo/api/rest/updateAndBuild.action?buildKey=SUP-BSPB <response> <success>A build of SUP-BSPB was triggered by remote http call.</success> </response> ecrmac-100676:~ $ curl --user admin:passwd -H "Content-Type: application/json" -X POST http://127.0.0.1:8085/bamboo/rest/triggers/1.0/remote/changeDetection?planKey=SUP-BSPB&skipBranches=false ecrmac-100676:~ $ Change detection for [SUP-BSPB] and its branches has been scheduled.