Browse Source

调整jenkinsfile

xiaoct 6 years ago
parent
commit
b91afed04c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Jenkinsfile

+ 2 - 2
Jenkinsfile

@@ -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'){