Fix versions variable conflict.
parent
3d9d41a2bf
commit
9235f443cf
|
@ -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} .")
|
||||||
|
|
Loading…
Reference in New Issue