Explorar o código

修改jenkinsfile,修改jvm权限

huqi %!s(int64=6) %!d(string=hai) anos
pai
achega
2f9090c987
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -37,6 +37,9 @@ pipeline {
         stage('deploy') {
             steps {
                 sh 'npm run deploy:linux'
+                sh 'chmod 777 -R target/o2server/jvm'
+                sh 'chmod 777 -R target/o2server/commons'
+                sh 'chmod 777 target/o2server/*.sh'
             }
         }
         stage('run') {