-
Type:
Suggestion
-
Resolution: Low Engagement
-
None
-
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.