diff options
Diffstat (limited to '.cirrus.yml')
-rw-r--r-- | .cirrus.yml | 35 |
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 |