更新 Jenkinsfile
更改jenkins配置
This commit is contained in:
parent
b386cf6835
commit
679061250d
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -11,6 +11,13 @@ pipeline {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
|
||||
stage('检查Node.js版本') {
|
||||
steps {
|
||||
sh 'node -v' // 验证Node.js版本,应输出v22.18.0
|
||||
sh 'npm -v' // 验证npm版本,应输出对应版本(如v10.9.3)
|
||||
}
|
||||
}
|
||||
|
||||
stage('安装依赖') {
|
||||
steps {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user