Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.6.2
-
None
-
None
Description
Problem:
When using the Bamboo generic repository variable bamboo.planRepository.previousRevision as described in Bamboo variables. The variable is assigned, however, it still trips Bamboo up.
In 5.6.2
We can see that the variable does become set but a "bad substitution" error is still received.
command 19-Mar-2015 16:27:22 Substituting variable: ${bamboo.planRepository.previousRevision} with 878190 ... error 20-Mar-2015 13:39:37 /tmp/RE-PD-PA-75-ScriptBuildTask-3098057124618524009.sh: line 1: ${bamboo.planRepository.previousRevision}: bad substitution
In 5.8.1
We can see that the variable does become set but a "command not found" error is still received.
command 20-Mar-2015 16:19:16 Substituting variable: ${bamboo.planRepository.previousRevision} with f84965a08b038b606572fad46cff486a23e8977b ... error 20-Mar-2015 16:19:16 /Users/jamesgiles/Desktop/Bamboo/downloads/atlassian-bamboo-5.8.1/temp/CHIC-TP-JOB1-6-ScriptBuildTask-4424000656338587228.sh: line 1: f84965a08b038b606572fad46cff486a23e8977b: command not found
Duplication steps:
- add Script Task to build plan
- add ${bamboo.planRepository.previousRevision}
- run build