Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
1
-
Description
Currently, Bamboo allows using Global variables as part of a Git repository address, this possibility could be improved to allow using plan variables such ${bamboo.planKey} and ${bamboo.shortPlanName}.
Current behavior:
Ropository address set to:
http://bitbucket:7990/scm/proj/${bamboo.shortPlanName}.git
The plan fails with an error similar to this:
Errors getting changes for PROJ-PLAN-15 (com.atlassian.bamboo.plugins.git.GitCommandException : command /usr/bin/git ls-remote http://********:********@bitbucket:7990/scm/proj/${bamboo.shortPlanName}.git failed with code 128. Working directory was [.]., stderr: fatal: unable to access 'http://********:********@bitbucket:7990/scm/proj/${bamboo.shortPlanName}.git/': The requested URL returned error: 400)