Bamboo Specs based on present scripts in repository

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Bamboo Specs
    • None
    • 0

      Hello,

      We want to have our Bamboo specs as generic as possible.

      In our repository we have multiple CI-scripts which should be run in Bamboo.
      If the user is adding a new script, we would like to let it run in the CI without needing to touch the bamboo specs.

      Is there any possibility to create the jobs dynamically based on the presence of scripts in the repository (yml specs)? Is it possible to do with java specs?

       

      In yml I would welcome something like

      ...
      stages:
        - Primary Builds:
            - build A
            - build B
         - Scripted Builds:
            - .ci/*.sh
      
      .ci/*.sh:
          - script: |
              $(bamboo_shortJobName.sh) --my --flags
      ...

       

              Assignee:
              Unassigned
              Reporter:
              Thorsten Klein
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: