aboutsummaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorCarmine Vassallo <carmine.vassallo@sonarsource.com>2022-12-20 17:25:25 +0100
committerGitHub <noreply@github.com>2022-12-20 17:25:25 +0100
commit1ac1104ea35ee43ca1b9658328951a2d6a378471 (patch)
treec83a235b91ec600769cdcce1eef016ad70772e29 /.cirrus.yml
parentf5f8699bc4d607e4cb2acc47fd348cee1ded1a97 (diff)
downloadsonar-scanner-cli-1ac1104ea35ee43ca1b9658328951a2d6a378471.tar.gz
sonar-scanner-cli-1ac1104ea35ee43ca1b9658328951a2d6a378471.zip
SQSCANNER-108 Bump dependencies' and plugins' versions, update the embedded JRE to 11.0.17 (#141)
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml35
1 files changed, 29 insertions, 6 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 48a7e68..843fbb4 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -68,7 +68,7 @@ build_task:
cleanup_before_cache_script:
- cleanup_maven_repository
-linux_qa_task:
+linux_qa_java11_task:
depends_on:
- build
<<: *ONLY_SONARSOURCE_QA
@@ -76,7 +76,6 @@ linux_qa_task:
<<: *EKS_CONTAINER
env:
matrix:
- - SQ_VERSION: LATEST_RELEASE[7.9]
- SQ_VERSION: LATEST_RELEASE[8.9]
- SQ_VERSION: DEV
maven_cache:
@@ -110,7 +109,7 @@ linux_qa_java17_task:
cleanup_before_cache_script:
- cleanup_maven_repository
-win_qa_task:
+win_qa_java11_task:
depends_on:
- build
<<: *ONLY_SONARSOURCE_QA
@@ -119,7 +118,29 @@ win_qa_task:
env:
CIRRUS_SHELL: bash
matrix:
- - SQ_VERSION: LATEST_RELEASE[7.9]
+ - SQ_VERSION: LATEST_RELEASE[8.9]
+ - 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 it
+ - mvn -B -e -Dsonar.runtimeVersion="$SQ_VERSION" -Dmaven.test.redirectTestOutputToFile=false verify
+ cleanup_before_cache_script:
+ - cleanup_maven_repository
+
+win_qa_java17_task:
+ depends_on:
+ - build
+ <<: *ONLY_SONARSOURCE_QA
+ ec2_instance:
+ <<: *EC2_INSTANCE_WINDOWS
+ image: base-windows-jdk17-v*
+ env:
+ CIRRUS_SHELL: bash
+ matrix:
+ - SQ_VERSION: LATEST_RELEASE[8.9]
- SQ_VERSION: DEV
maven_cache:
folder: ${CIRRUS_WORKING_DIR}/.m2/repository
@@ -133,8 +154,10 @@ win_qa_task:
promote_task:
depends_on:
- - linux_qa
- - win_qa
+ - linux_qa_java11
+ - linux_qa_java17
+ - win_qa_java11
+ - win_qa_java17
<<: *ONLY_SONARSOURCE_QA
eks_container:
<<: *EKS_CONTAINER