File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,9 @@ qa_task:
7676 memory : 3G
7777 env :
7878 matrix :
79- - SQ_VERSION : LATEST_RELEASE[7.9]
80- - SQ_VERSION : LATEST_RELEASE
81- - SQ_VERSION : DEV
79+ - QA_CATEGORY : RELEASE-7-9
80+ - QA_CATEGORY : RELEASE
81+ - QA_CATEGORY : DEV
8282 JAVA_VERSION :
8383 - LATEST_RELEASE
8484 maven_cache :
@@ -87,7 +87,8 @@ qa_task:
8787 - source cirrus-env QA
8888 - source set_maven_build_version $BUILD_NUMBER
8989 - cd its
90- - mvn -B -e verify -Prun-its -Dsonar.runtimeVersion=$SQ_VERSION -DjavaVersion=$JAVA_VERSION
90+ - function get_sq_version() { case $QA_CATEGORY in "RELEASE-7-9") echo "LATEST_RELEASE[7.9]";; "RELEASE") echo "LATEST_RELEASE";; *) echo "$QA_CATEGORY";; esac }
91+ - mvn -B -e verify -Prun-its -Dsonar.runtimeVersion=$(get_sq_version) -DjavaVersion=$JAVA_VERSION
9192 cleanup_before_cache_script :
9293 - cleanup_maven_repository
9394 on_failure :
You can’t perform that action at this time.
0 commit comments