diff options
| author | Alban Auzeill | 2019-12-23 13:10:07 +0100 |
|---|---|---|
| committer | Elena Vilchik | 2019-12-23 13:10:07 +0100 |
| commit | de015d8368fce780fa5821392b18c35facad4756 (patch) | |
| tree | 5efbc4ed003fd1cfcab2a9b82486e1b3e46233da | |
| parent | c8f0071c4f5336dfe0efc5d3c218ab49f2401264 (diff) | |
| download | sonar-css-de015d8368fce780fa5821392b18c35facad4756.tar.bz2 | |
Add IT test on windows (#228)
| -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 |
