Mercurial > public > develkit
diff init20.gradle @ 228:12416b83c57e
USASR-2244: Attempt to fix syntax error
author | Christopher Springer <springer@nwoca.org> |
---|---|
date | Thu, 07 Jul 2016 17:07:26 +0100 |
parents | d84d60b29395 |
children | e63c2f7761a6 |
line wrap: on
line diff
--- a/init20.gradle Thu Jul 07 17:05:36 2016 +0100 +++ b/init20.gradle Thu Jul 07 17:07:26 2016 +0100 @@ -799,7 +799,11 @@ private findSnapshotVersion() { 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" + if (repositoryUrl) { + println "hg pull $repositoryUrl".execute().text + } else { + 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 {