Create a Build-Specific Variable that would provide the path to the Plan Artifacts folder in the home directory

XMLWordPrintable

    • 0
    • 2

      Bamboo 3.0 introduced a new location for the Artifacts as well as a new folder naming:

      <bamboo-home-dir>/artifacts/PROJECT-PLAN/JOB1/build-BUILD_NUMBER/
      

      The BUILD_NUMBER will always have a minimum of 5 digits, having the number completed with zeros when necessary. For instance, for build "42" the number will be "00042".

      However, there is no easy way to refer to this path in the Bamboo plan by simply using the Build-Specific variables. Varible ${bamboo.buildNumber} does not contain the zeros.

      To allow users to avoid issues with the zeros, would be good to provide a variable with the complete path to the artifact folder of an specific job.

      Currently, if the users want to use the path, they need to create a script file that would build the correct path with the zeros.

            Assignee:
            Unassigned
            Reporter:
            Renan Battaglin (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: