Explorar el Código

修改jenkinsfile,修改jvm权限

huqi hace 5 años
padre
commit
2f9090c987
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -37,6 +37,9 @@ pipeline {
         stage('deploy') {
         stage('deploy') {
             steps {
             steps {
                 sh 'npm run deploy:linux'
                 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') {
         stage('run') {