-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
Affects Version/s: 8.1.1
-
Component/s: SCP and SSH tasks
-
None
-
1
-
Severity 3 - Minor
Issue Summary
An SSH task won't parse a variable in the same way as a script task does, even though it should.
Steps to Reproduce
- Create a variable called "myVar" with value "value1".
- In a script task, include the line
echo ${bamboo_myVar} - In an SSH Task, include the line
echo ${bamboo_myVar}
Expected Results
Both tasks will print
value1
Actual Results
The script task will print the value. The SSH task will not print anything.
Workaround
If possible, use dots instead:
echo ${bamboo.myVar}
- is related to
-
BAM-21599 SSH task not compatible with ssh/config file
-
- Closed
-
- is action for
-
BDEV-16969 Loading...