This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch fix/nightlies-67x in repository https://gitbox.apache.org/repos/asf/struts.git
commit 5713a74edc9ecfebbdb9b1fa9d96cc2ad3c16b01 Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Tue Jan 21 18:06:11 2025 +0100 Fixes nightlies builds --- Jenkinsfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 1d8aa072a..85c1a977e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -81,7 +81,7 @@ pipeline { stage('Code Quality') { when { anyOf { - branch 'master'; branch 'release/struts-7-0-x' + branch 'main' } } steps { @@ -92,7 +92,7 @@ pipeline { } stage('Build Source & JavaDoc') { when { - branch 'release/struts-7-0-x' + branch 'release/struts-6-7-x' } steps { dir("local-snapshots-dir/") { @@ -103,7 +103,7 @@ pipeline { } stage('Deploy Snapshot') { when { - branch 'release/struts-7-0-x' + branch 'release/struts-6-7-x' } steps { withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) { @@ -113,7 +113,7 @@ pipeline { } stage('Upload nightlies') { when { - branch 'release/struts-7-0-x' + branch 'release/struts-6-7-x' } steps { sh './mvnw -B package -DskipTests --no-transfer-progress' @@ -170,7 +170,7 @@ pipeline { } stage('Build Source & JavaDoc') { when { - branch 'master' + branch 'main' } steps { dir("local-snapshots-dir/") { @@ -181,7 +181,7 @@ pipeline { } stage('Deploy Snapshot') { when { - branch 'master' + branch 'main' } steps { withCredentials([file(credentialsId: 'lukaszlenart-repository-access-token', variable: 'CUSTOM_SETTINGS')]) { @@ -191,7 +191,7 @@ pipeline { } stage('Upload nightlies') { when { - branch 'master' + branch 'main' } steps { sh './mvnw -B package -DskipTests --no-transfer-progress'