aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlban Auzeill2019-12-19 20:35:44 +0100
committerAlban Auzeill2019-12-19 21:16:58 +0100
commitc3b9093d3ae675d9b6be1baafa7961c5249c88ac (patch)
tree5efbc4ed003fd1cfcab2a9b82486e1b3e46233da
parentc8f0071c4f5336dfe0efc5d3c218ab49f2401264 (diff)
downloadsonar-css-issue-227.tar.bz2
Add IT test on windowsissue-227
-rw-r--r--.cirrus.yml27
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