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

Add option to enabe and disable task, jobs and plans using YAML Specs

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Bamboo Specs
    • None
    • 7
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Problem Definition

      At the moment it's not possible to enable or disable a task, job or plan using YAML Specs.

      Suggested Solution

      Add an option to enable and disable a task, job or plan via YAML specs.

      Workaround

      There is no workaround other than remove the task, job or plan in order to "disable" it and re-add it to enable it.

          Form Name

            [BAM-21313] Add option to enabe and disable task, jobs and plans using YAML Specs

            Trig added a comment -

            This would be helpful for building a generic plan that has parts enabled and disabled depending on the maturity. e.g. when building a suite of tests as a developer, there may not be a suite of independent tests yet, and there may not be a build task or static testing setup yet but they're planned to be included in the future and it would be easier to have the yaml written in preparation for availability of further stages - pretty please

            Trig added a comment - This would be helpful for building a generic plan that has parts enabled and disabled depending on the maturity. e.g. when building a suite of tests as a developer, there may not be a suite of independent tests yet, and there may not be a build task or static testing setup yet but they're planned to be included in the future and it would be easier to have the yaml written in preparation for availability of further stages - pretty please

            Please implement this feature to help Bamboo Spec get closer to parity with manual configuration!

            Damien Jiang added a comment - Please implement this feature to help Bamboo Spec get closer to parity with manual configuration!

            Yes, this would be very helpful. 
            We are currently using Yaml specs to build and deploy pipelines out of the templates that we provide as DevOps Team. 
            Sometimes developers would like to disable some tasks comming from the template though. In this scenario, it would be clean and easy if it was done just with overwriting `enabled` option on the task level.   

            Michał Sarnecki added a comment - Yes, this would be very helpful.  We are currently using Yaml specs to build and deploy pipelines out of the templates that we provide as DevOps Team.  Sometimes developers would like to disable some tasks comming from the template though. In this scenario, it would be clean and easy if it was done just with overwriting `enabled` option on the task level.   

              Unassigned Unassigned
              brosa Bruno Rosa
              Votes:
              32 Vote for this issue
              Watchers:
              20 Start watching this issue

                Created:
                Updated: