From 76530d18f1797b2c752f280952f8592253c245a7 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Tue, 5 Jul 2016 12:22:46 +0200 Subject: Try to fix ITs on QA --- it/pom.xml | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 63 insertions(+), 5 deletions(-) (limited to 'it/pom.xml') diff --git a/it/pom.xml b/it/pom.xml index eb96c00..2b8d9b2 100644 --- a/it/pom.xml +++ b/it/pom.xml @@ -1,6 +1,6 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 @@ -52,10 +52,10 @@ test - org.assertj - assertj-core - 2.1.0 - + org.assertj + assertj-core + 2.1.0 + @@ -65,6 +65,9 @@ org.apache.maven.plugins maven-surefire-plugin + + ${scanner.version} + **/SonarScannerTestSuite.java @@ -74,4 +77,59 @@ + + + download-qa-artifacts + + + env.CI_BUILD_NUMBER + + + + + + org.codehaus.gmaven + groovy-maven-plugin + 2.0 + + + compute-qa-version + initialize + + execute + + + (.*?)-SNAPSHOT<\/version>.*/ + assert matcher.matches() + project.properties['scanner.version'] = matcher[0][1] + '-build' + System.getenv()['CI_BUILD_NUMBER'] + ]]> + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + 2.10 + + + download-qa-scanner + initialize + + get + + + org.sonarsource.scanner.cli:sonar-scanner-cli:${scanner.version}:zip + + + + + + + + + -- cgit v1.2.3