Fix versions variable conflict.

master
Icedream 2018-05-07 20:21:37 +02:00
parent 3d9d41a2bf
commit 9235f443cf
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 3 additions and 3 deletions

6
Jenkinsfile vendored
View File

@ -22,9 +22,9 @@ node("docker && linux && amd64") {
stage("Build") { stage("Build") {
def imageVersion def imageVersion
versions.forEach { versions -> versions.forEach { version ->
def tomcatVersion = versions[0] def tomcatVersion = version[0]
def jreVersion = versions[1] def jreVersion = version[1]
def guacamoleVersion def guacamoleVersion
def image = docker.build("", "--build-arg TOMCAT_VERSION=${tomcatVersion} --build-arg JRE_VERSION=${jreVersion} .") def image = docker.build("", "--build-arg TOMCAT_VERSION=${tomcatVersion} --build-arg JRE_VERSION=${jreVersion} .")