修改jenkins的npm引用
This commit is contained in:
parent
94b6344e3e
commit
e561ffb4e3
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -14,7 +14,7 @@ pipeline {
|
||||
expression { params.publish_type == "ui" || params.publish_type == "all" }
|
||||
}
|
||||
steps {
|
||||
nodejs(cacheLocationStrategy: workspace(), configId: '8e356590-2fee-4f1f-b0e9-5cea43299887', nodeJSInstallationName: 'nodejs202122') {
|
||||
nodejs(cacheLocationStrategy: workspace(), configId: '8e356590-2fee-4f1f-b0e9-5cea43299887', nodeJSInstallationName: 'nodejs2211') {
|
||||
dir("$WORKSPACE/ui/dasadmin") {
|
||||
sh "npm install"
|
||||
sh "npm run build"
|
||||
|
Loading…
Reference in New Issue
Block a user