-
Bug
-
Resolution: Fixed
-
Low
-
3.2
-
None
https://answers.atlassian.com/questions/13950/mercurial-repository-url-build-variables:
Hi,
We're using Bamboo 3.2 and are trying to build a specific Mercurial tag or changeset for our release builds. The Repository URL on the source repository configuration screen supports the #revision syntax, which is great. What I would like to do is parametize this using the bamboo build variables.
Something like the following:
http://path/to/repository#${bamboo.tagToBuild}However I get a malformed url error message when I attempt to do this. To me, this seems the simplest way to achieve builds based on a particular tag, but I'd like to know if we're trying to do this the wrong way.
Can anyone please advise how they have overcome with this particular problem? Or is this something unique to us, and possibly indicating that we should be following a different process?
Cheers,
Adam
the root of the problem is probably here - no cache directory variable substitution:
https://bitbucket.org/atlassian/bamboo/src/b1b1573dbd0c/components/bamboo-plugins/bamboo-plugin-mercurial/src/main/java/com/atlassian/bamboo/plugins/hg/HgRepository.java#cl-194
[BAM-9908] hg repository fails to detect changes while using global variables - http://path/to/repository#${bamboo.tagToBuild}
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 1434535 ] | New: JAC Bug Workflow v3 [ 3384156 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1408515 ] | New: Bamboo Workflow 2016 v1 - Restricted [ 1434535 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 609034 ] | New: Bamboo Workflow 2016 v1 [ 1408515 ] |
Workflow | Original: Bamboo Workflow 2014 [ 599832 ] | New: Bamboo Workflow 2014 v2 [ 609034 ] |
Workflow | Original: Bamboo Workflow 2010 [ 346902 ] | New: Bamboo Workflow 2014 [ 599832 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: To be reviewed [ 10026 ] | New: Resolved [ 5 ] |
Status | Original: In Progress [ 3 ] | New: To be reviewed [ 10026 ] |
Assignee | New: Krystian Brazulewicz [ kbrazulewicz ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Fix Version/s | New: 3.3.2 [ 21131 ] | |
Fix Version/s | Original: 3.3.1 [ 20795 ] |