diff options
| -rw-r--r-- | .cirrus.yml | 27 | 
1 files changed, 24 insertions, 3 deletions
| diff --git a/.cirrus.yml b/.cirrus.yml index ab3274d..edf8198 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -62,12 +62,15 @@ build_task:    cleanup_before_cache_script: cleanup_maven_repository  build_win_task: +  depends_on: +    - build    <<: *WINDOWS_VM_DEFINITION    maven_cache:      #windows cache fails with ${CIRRUS_WORKING_DIR}      folder: ~/.m2/repository    build_script: -    - mvn.cmd -s /c/buildTools-docker/settings-public.xml test +    - source cirrus-env CI +    - mvn test    cleanup_before_cache_script: cleanup_maven_repository  plugin_qa_task: @@ -92,13 +95,31 @@ plugin_qa_task:    qa_script:      - source cirrus-env QA      - source set_maven_build_version $BUILD_NUMBER -    - cd its/plugin -    - mvn verify -Dsonar.runtimeVersion=${SQ_VERSION} -Dmaven.test.redirectTestOutputToFile=false -B -e -V +    - mvn -f its/plugin verify -Dsonar.runtimeVersion=${SQ_VERSION} -Dmaven.test.redirectTestOutputToFile=false -B -e -V    cleanup_before_cache_script: cleanup_maven_repository +plugin_qa_win_task: +  depends_on: +    - build +  <<: *ONLY_SONARSOURCE_QA +  <<: *WINDOWS_VM_DEFINITION +  env: +    - SQ_VERSION: LATEST_RELEASE[7.9] +  maven_cache: +    #windows cache fails with ${CIRRUS_WORKING_DIR} +    folder: ~/.m2/repository +  qa_script: +    - source cirrus-env QA +    - source set_maven_build_version $BUILD_NUMBER +    - mvn -f its/plugin verify -Dsonar.runtimeVersion=${SQ_VERSION} -Dmaven.test.redirectTestOutputToFile=false -B -e -V +  cleanup_before_cache_script: cleanup_maven_repository +  promote_task:    depends_on: +    - build +    - build_win      - plugin_qa +    - plugin_qa_win    <<: *ONLY_SONARSOURCE_QA    gke_container:      <<: *CONTAINER_DEFINITION | 
