Skip to content

Commit cb43c02

Browse files
committed
Merge branch 'rel4_0' into 'release/4.0'
Backport few JenkinsFile.kindnightly changes See merge request weblogic-cloud/weblogic-kubernetes-operator!4288
2 parents 870af08 + 40277f2 commit cb43c02

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Jenkinsfile.kindnightly

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ pipeline {
106106
defaultValue: 'release/4.0'
107107
)
108108
choice(name: 'MAVEN_PROFILE_NAME',
109-
description: 'Profile to use in mvn command to run the tests. Possible values are kind-sequential (the default), kind-parallel and integration-tests. Refer to weblogic-kubernetes-operator/integration-tests/pom.xml on the branch.',
109+
description: 'Profile to use in mvn command to run the tests. Possible values are kind-parallel (the default), kind-sequential and integration-tests. Refer to weblogic-kubernetes-operator/integration-tests/pom.xml on the branch.',
110110
choices: [
111-
'kind-sequential',
112111
'kind-parallel',
112+
'kind-sequential',
113113
'integration-tests'
114114
]
115115
)
@@ -246,7 +246,7 @@ pipeline {
246246
)
247247
string(name: 'PROMETHEUS_CHART_VERSION',
248248
description: '',
249-
defaultValue: '15.2.0'
249+
defaultValue: '17.0.0'
250250
)
251251
string(name: 'GRAFANA_CHART_VERSION',
252252
description: '',
@@ -516,8 +516,6 @@ EOF
516516
PARALLEL_RUN='false'
517517
fi
518518
if [ -n "${IT_TEST}" ]; then
519-
echo 'Overriding MAVEN_PROFILE_NAME to integration-test when running individual test(s)'
520-
MAVEN_PROFILE_NAME="integration-tests"
521519
echo "-Dit.test=\"${IT_TEST}\"" > ${WORKSPACE}/.mvn/maven.config
522520
fi
523521
echo "-Dwko.it.wle.download.url=\"${wle_download_url}\"" >> ${WORKSPACE}/.mvn/maven.config
@@ -564,6 +562,11 @@ EOF
564562
export TEST_IMAGES_REPO_USERNAME="${OCIR_USER}"
565563
export TEST_IMAGES_REPO_PASSWORD="${OCIR_PASS}"
566564
export TEST_IMAGES_REPO_EMAIL="[email protected]"
565+
566+
if [[ -n "${IT_TEST}" && "${IT_TEST}" != "**/It*" ]]; then
567+
echo 'Overriding MAVEN_PROFILE_NAME to integration-test when running individual test(s)'
568+
MAVEN_PROFILE_NAME="integration-tests"
569+
fi
567570
if ! time mvn -pl integration-tests -P ${MAVEN_PROFILE_NAME} verify 2>&1 | tee "${result_root}/kindtest.log"; then
568571
echo "integration-tests failed"
569572
exit 1

0 commit comments

Comments
 (0)