Explorar o código

Merge branch 'fix/jenkinsfile' into 'develop'

Merge of fix/jenkinsfile to develop 修改jenkinsfile,修改jvm权限

See merge request o2oa/o2oa!268
胡起 %!s(int64=5) %!d(string=hai) anos
pai
achega
db37a0860f
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') {