commit | b1aa0ff6d49751d98f41c35ee493619d58100b1b | [log] [tgz] |
---|---|---|
author | Sergey Kulanov <skulanov@mirantis.com> | Mon Jan 23 17:48:44 2017 +0200 |
committer | Sergey Kulanov <skulanov@mirantis.com> | Mon Jan 23 17:48:44 2017 +0200 |
tree | 930b089887a5e22003240ab2a69023431ef87ca3 | |
parent | e897d8f3b7e343516fb7a45b7b6a4f6a952405c5 [diff] |
Fix type if instead of id Change-Id: I59ef5a2f05d7f9b1fc82e84075e9e18c5e4d3491
diff --git a/src/com/mirantis/mcp/Common.groovy b/src/com/mirantis/mcp/Common.groovy index e336d5a..00f8bfc 100644 --- a/src/com/mirantis/mcp/Common.groovy +++ b/src/com/mirantis/mcp/Common.groovy
@@ -64,7 +64,7 @@ def lbl = config.get('label', "buildpod.${env.JOB_NAME}.${env.BUILD_NUMBER}".replace('-', '_').replace('/', '_')) def toRun = config.get('function', 'none') - id (jnlpSlaveImg == 'none') { + if (jnlpSlaveImg == 'none') { error('jnlp Slave image MUST be defined') }