发版测试

This commit is contained in:
谷成伟 2024-06-20 09:29:55 +08:00
parent f679b9b7d1
commit 366f9a93a7

4
Jenkinsfile vendored
View File

@ -11,7 +11,7 @@ pipeline {
} }
stage('编译UI') { stage('编译UI') {
when { when {
expression { params.publish_type == "ui" && params.publish_type == "all" } expression { params.publish_type == "ui" || params.publish_type == "all" }
} }
steps { steps {
nodejs(cacheLocationStrategy: workspace(), configId: '8e356590-2fee-4f1f-b0e9-5cea43299887', nodeJSInstallationName: 'nodejs202122') { nodejs(cacheLocationStrategy: workspace(), configId: '8e356590-2fee-4f1f-b0e9-5cea43299887', nodeJSInstallationName: 'nodejs202122') {
@ -24,7 +24,7 @@ pipeline {
} }
stage('编译后端') { stage('编译后端') {
when { when {
expression { params.publish_type == "service" && params.publish_type == "all" } expression { params.publish_type == "service" || params.publish_type == "all" }
} }
steps { steps {
withMaven(globalMavenSettingsConfig: 'bab2e7fd-587c-4284-9bd8-6b97dfeb2fab', jdk: 'jdk17', maven: 'maven396') { withMaven(globalMavenSettingsConfig: 'bab2e7fd-587c-4284-9bd8-6b97dfeb2fab', jdk: 'jdk17', maven: 'maven396') {