Browse Source

更新 'Jenkinsfile'

sifu-gogs 2 years ago
parent
commit
593b673b45
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Jenkinsfile

+ 3 - 0
Jenkinsfile

@@ -8,6 +8,9 @@ pipeline {
             steps {
             steps {
 				sh 'docker-compose down'
 				sh 'docker-compose down'
                 nodejs('16.17.0') {
                 nodejs('16.17.0') {
+                    sh 'npm -v'
+                    sh 'node -v'
+                    sh 'yarn -v'
                     sh 'npm install yarn -g --registry https://registry.npm.taobao.org'
                     sh 'npm install yarn -g --registry https://registry.npm.taobao.org'
                     sh 'yarn config set registry https://registry.npm.taobao.org/'
                     sh 'yarn config set registry https://registry.npm.taobao.org/'
                     sh 'yarn install'
                     sh 'yarn install'