Clean up directory where version meta is unpacked to before using.
parent
e36650d73d
commit
7a860b21c2
|
@ -26,8 +26,10 @@ node("docker && linux && amd64") {
|
|||
"--build-arg TOMCAT_VERSION=${tomcatVersion} --build-arg TOMCAT_JRE=${jreVersion} .")
|
||||
|
||||
def guacamoleVersion
|
||||
image.inside("-w /tmp") {
|
||||
image.inside() {
|
||||
ansiColor {
|
||||
dir("tmp") {
|
||||
deleteDir()
|
||||
sh """
|
||||
unzip /opt/guacamole/guacamole.war META-INF/maven/org.apache.guacamole/guacamole/pom.properties
|
||||
"""
|
||||
|
@ -38,6 +40,7 @@ node("docker && linux && amd64") {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def imageTag = "${dockerNamespace}/${dockerBase}:${guacamoleVersion}-tomcat${tomcatVersion}-${jreVersion}"
|
||||
images << [ image, imageFullName ]
|
||||
|
|
Loading…
Reference in New Issue