Mercurial > public > develkit
changeset 227:d84d60b29395
USASR-2244: Attempt to explicitly specify url of repository when pulling
author | Christopher Springer <springer@nwoca.org> |
---|---|
date | Thu, 07 Jul 2016 17:05:36 +0100 |
parents | ea011be895bd |
children | 12416b83c57e |
files | init20.gradle |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/init20.gradle Thu Jul 07 16:50:39 2016 +0100 +++ b/init20.gradle Thu Jul 07 17:05:36 2016 +0100 @@ -798,7 +798,8 @@ } private findSnapshotVersion() { - println "hg pull".execute().text + def repositoryUrl = System.getenv('bamboo_planRepository_repositoryUrl') + repositoryUrl ? println "hg pull $repositoryUrl".execute().text : println "unable to determine repository url from environment bamboo_planRepository_repositoryUrl" def versions = "hg branches --closed".execute().text.split('\n').findAll { it.startsWith( 'release') || it.startsWith( 'hotfix') }.collect {