|
@@ -3,7 +3,7 @@ pipeline {
|
|
|
dockerfile {
|
|
|
filename 'Dockerfile'
|
|
|
registryUrl 'https://registry.docker-cn.com'
|
|
|
- args '-p 84:84 -p 8081:8080 --security-opt apparmor=unconfined'
|
|
|
+ args '-p 8081:8080 --security-opt apparmor=unconfined'
|
|
|
}
|
|
|
}
|
|
|
stages {
|
|
@@ -24,7 +24,7 @@ pipeline {
|
|
|
}
|
|
|
stage('Start Tomcat9'){
|
|
|
steps {
|
|
|
- sh '/apache-tomcat9/bin/startup.sh'
|
|
|
+ sh '/apache-tomcat9/bin/catalina.sh run'
|
|
|
}
|
|
|
}
|
|
|
stage('Deliver'){
|