comparison init20.gradle @ 222:b3cb5db317a0

USASR-2244: Fix wrong variable used in if statement
author Christopher Springer <springer@nwoca.org>
date Thu, 07 Jul 2016 16:25:34 +0100
parents 837c9249053f
children 6cbe6a8597db
comparison
equal deleted inserted replaced
221:837c9249053f 222:b3cb5db317a0
51 try { 51 try {
52 gradle.ext.hgRepositoryUrl = ("hg path".execute().text.split('=') ?: ['', ''])[1].trim() 52 gradle.ext.hgRepositoryUrl = ("hg path".execute().text.split('=') ?: ['', ''])[1].trim()
53 } catch (e) { 53 } catch (e) {
54 } 54 }
55 try { 55 try {
56 if (gradle.ext.bambooPlan) { 56 if (gradle.ext.bambooBuild) {
57 "hg pull".execute() 57 "hg pull".execute()
58 } 58 }
59 } catch (e) { 59 } catch (e) {
60 logger.error "exception thrown attempting to pull all changesets from mercurial", e 60 logger.error "exception thrown attempting to pull all changesets from mercurial", e
61 } 61 }