提交jenkins自动化流水线
This commit is contained in:
Vendored
+1
-7
@@ -22,13 +22,7 @@ pipeline {
|
||||
'''
|
||||
}
|
||||
}
|
||||
stage('修复npm环境') {
|
||||
steps {
|
||||
sh '''
|
||||
npm config set prefix $WORKSPACE/.npm-global
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
stage('安装依赖') {
|
||||
steps {
|
||||
sh 'npm install'
|
||||
|
||||
Reference in New Issue
Block a user