Skip to content

Commit

Permalink
SONARXML-230 Restrict ITs to run only against SQCB 25.1 (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
dorian-burihabwa-sonarsource authored Feb 26, 2025
1 parent 8269f48 commit 4f80eaf
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,13 @@ plugin_qa_task:
<<: *QA_CONTAINER_DEFINITION
cpu: 3
memory: 8G
env:
matrix:
- SQ_VERSION: LATEST_RELEASE
- SQ_VERSION: DEV
maven_cache:
folder: $CIRRUS_WORKING_DIR/.m2/repository
qa_script:
- source cirrus-env QA
- source set_maven_build_version $BUILD_NUMBER
- cd its/plugin
- mvn verify -Pit-plugin -Dsonar.runtimeVersion=${SQ_VERSION} -Dmaven.test.redirectTestOutputToFile=false -B -e -V
- mvn verify -Pit-plugin -Dsonar.runtimeVersion=LATEST_RELEASE[25.1] -Dmaven.test.redirectTestOutputToFile=false -B -e -V
cleanup_before_cache_script: cleanup_maven_repository

ruling_task:
Expand All @@ -126,7 +122,7 @@ ruling_task:
- source cirrus-env QA
- source set_maven_build_version $BUILD_NUMBER
- cd its/ruling
- mvn verify -Pit-ruling -Dsonar.runtimeVersion=LATEST_RELEASE -Dmaven.test.redirectTestOutputToFile=false -B -e -V
- mvn verify -Pit-ruling -Dsonar.runtimeVersion=LATEST_RELEASE[25.1] -Dmaven.test.redirectTestOutputToFile=false -B -e -V
cleanup_before_cache_script: cleanup_maven_repository

ruling_win_task:
Expand All @@ -137,7 +133,7 @@ ruling_win_task:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
build_script:
- source cirrus-env QA
- mvn verify -Pit-ruling -Dsonar.runtimeVersion=LATEST_RELEASE -Dmaven.test.redirectTestOutputToFile=false -B -e -V
- mvn verify -Pit-ruling -Dsonar.runtimeVersion=LATEST_RELEASE[25.1] -Dmaven.test.redirectTestOutputToFile=false -B -e -V
cleanup_before_cache_script: cleanup_maven_repository

promote_task:

Check warning on line 139 in .cirrus.yml

View check run for this annotation

Cirrus CI / Build Parsing Results

.cirrus.yml#L139

task "promote" depends on task "ws_scan", but their only_if conditions are different
Expand Down

0 comments on commit 4f80eaf

Please sign in to comment.