-
Bug
-
Resolution: Duplicate
-
Low
-
None
-
5.10-OD-10-008
-
None
-
Severity 3 - Minor
-
Summary
- Bamboo Variables not being properly checked before colon
Environment
- Bamboo Cloud
Steps to Reproduce
- Access any Bamboo instance, and browse through to "Configure Plan"
- Create or Edit a 'Docker' Task
- In the Repository field, use a variable before a colon, like ${ variable }:${ variable }
Expected Results
- Fully accepted field configuration
Actual Results
- Displaying "Invalid repository name (${variable}), only [a-z, A-Z, 0-9_.-] are allowed"
Notes
It looks like the Repository field is checking for the special characters before the Colon without considering that a variable may be used in that place. If the Repository field does not contain a colon, it will provide an error for the variable without performing the proper variable replacements first.
Bamboo should make sure to perform its validation of the URL after the Variables have properly replaced the value before the colon.
Workaround
No current workaround
- duplicates
-
BAM-15861 Unable to use variables in docker build/push tasks
- Closed