Fix versions variable conflict.
parent
3d9d41a2bf
commit
9235f443cf
|
@ -22,9 +22,9 @@ node("docker && linux && amd64") {
|
|||
stage("Build") {
|
||||
def imageVersion
|
||||
|
||||
versions.forEach { versions ->
|
||||
def tomcatVersion = versions[0]
|
||||
def jreVersion = versions[1]
|
||||
versions.forEach { version ->
|
||||
def tomcatVersion = version[0]
|
||||
def jreVersion = version[1]
|
||||
|
||||
def guacamoleVersion
|
||||
def image = docker.build("", "--build-arg TOMCAT_VERSION=${tomcatVersion} --build-arg JRE_VERSION=${jreVersion} .")
|
||||
|
|
Loading…
Reference in New Issue