-
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
-
[BAM-17059] Bamboo Variables not correctly checked before Colon
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 1441267 ] | New: JAC Bug Workflow v3 [ 3385173 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Resolution | New: Duplicate [ 3 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Symptom Severity | New: Minor [ 14432 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1417009 ] | New: Bamboo Workflow 2016 v1 - Restricted [ 1441267 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 1122299 ] | New: Bamboo Workflow 2016 v1 [ 1417009 ] |
Status | Original: Needs Triage [ 10030 ] | New: Open [ 1 ] |
Component/s | New: Docker [ 34096 ] |
BAM-15861, where we have added more details on how the underlying field validation fails to properly account for variables (but still allows specific variations for variable input by chance).