Sfoglia il codice sorgente

Merge branch 'fix/jenkinsfile' into 'develop'

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

See merge request o2oa/o2oa!268
胡起 5 anni fa
parent
commit
db37a0860f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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') {