Browse Source

调整jenkinsfile

xiaoct 7 years ago
parent
commit
9f28fa8010
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Jenkinsfile

+ 2 - 0
Jenkinsfile

@@ -14,11 +14,13 @@ pipeline {
         }
         stage('Build Dev Gitbook') {
             steps {
+                sh 'gitbook install ./gitbook/dev'
                 sh 'gitbook build ./gitbook/dev'
             }
         }
         stage('Build Product Gitbook') {
             steps {
+                sh 'gitbook install ./gitbook/product'
                 sh 'gitbook build ./gitbook/product'
             }
         }