Skip to content

Commit 593915c

Browse files
committed
Explicitly use jakarta-ee-10 profile for CI jobs.
Related: #1289.
1 parent 89009c2 commit 593915c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Jenkinsfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pipeline {
3838
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
3939
}
4040
steps {
41-
sh "PROFILE=distribute,convergence ci/test.sh"
41+
sh "PROFILE=jakarta-ee-10,distribute,convergence ci/test.sh"
4242
}
4343
}
4444

@@ -55,7 +55,7 @@ pipeline {
5555
ARTIFACTORY = credentials('02bd1690-b54f-4c9f-819d-a77cb7a9822c')
5656
}
5757
steps {
58-
sh "PROFILE=spring-buildsnapshot,convergence ci/test.sh"
58+
sh "PROFILE=jakarta-ee-10,spring-buildsnapshot,convergence ci/test.sh"
5959
}
6060
}
6161

@@ -111,14 +111,14 @@ pipeline {
111111
}
112112

113113
if (RELEASE_TYPE == 'release') {
114-
sh "PROFILE=distribute,central USERNAME=${SONATYPE_USR} PASSWORD=${SONATYPE_PSW} ci/build-and-deploy-to-maven-central.sh ${PROJECT_VERSION}"
114+
sh "PROFILE=jakarta-ee-10,distribute,central USERNAME=${SONATYPE_USR} PASSWORD=${SONATYPE_PSW} ci/build-and-deploy-to-maven-central.sh ${PROJECT_VERSION}"
115115

116116
slackSend(
117117
color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger',
118118
channel: '#spring-ws',
119119
message: "Spring WS ${PROJECT_VERSION} is staged on Sonatype awaiting closure and release.")
120120
} else {
121-
sh "PROFILE=distribute,${RELEASE_TYPE} ci/build-and-deploy-to-artifactory.sh"
121+
sh "PROFILE=jakarta-ee-10,distribute,${RELEASE_TYPE} ci/build-and-deploy-to-artifactory.sh"
122122
}
123123
}
124124
}
@@ -145,7 +145,7 @@ pipeline {
145145

146146
steps {
147147
script {
148-
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pdistribute,docs ' +
148+
sh 'MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" ./mvnw -s settings.xml -Pjakarta-ee-10,distribute,docs ' +
149149
'-Dartifactory.server=https://repo.spring.io ' +
150150
"-Dartifactory.username=${ARTIFACTORY_USR} " +
151151
"-Dartifactory.password=${ARTIFACTORY_PSW} " +

0 commit comments

Comments
 (0)