소스 검색

调整jenkinsfile

xiaoct 7 년 전
부모
커밋
b91afed04c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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'){