Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-18595

-Datlassian.bamboo.build.disable=true does not disable building plans globally in Bamboo

      Steps to Reproduce

      1. Add the system property -Datlassian.bamboo.build.disable=true to the Bamboo JVM
      2. 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.
        

          Form Name

            [BAM-18595] -Datlassian.bamboo.build.disable=true does not disable building plans globally in Bamboo

            Monique Khairuliana (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2016 v1 - Restricted [ 2414945 ] New: JAC Bug Workflow v3 [ 3385865 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Daniel Santos (Inactive) made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 395428 ]
            Owen made changes -
            Symptom Severity Original: Minor [ 14432 ] New: Severity 3 - Minor [ 15832 ]
            Alexey Chystoprudov made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
            Alexey Chystoprudov made changes -
            Fix Version/s Original: 6.3.2 [ 77327 ]
            Fix Version/s New: 6.3.1 [ 76995 ]
            Alexey Chystoprudov made changes -
            Fix Version/s New: 6.3.2 [ 77327 ]
            Status Original: Open [ 1 ] New: In Progress [ 3 ]
            Alexey Chystoprudov made changes -
            Assignee New: Alexey Chystoprudov [ achystoprudov ]
            SET Analytics Bot made changes -
            UIS New: 1
            Steffen Opel [Utoolity] made changes -
            Link New: This issue relates to BAM-14142 [ BAM-14142 ]
            Krystian Brazulewicz made changes -
            Labels Original: bamboo-bugfix-kanban bamboo-team-onboarding onboarding New: bamboo-bugfix-kanban onboarding

              achystoprudov Alexey Chystoprudov
              dsantos Daniel Santos (Inactive)
              Affected customers:
              4 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: