]> source.dussan.org Git - sonar-scanner-cli.git/commitdiff
BUILD-265 Move to the new release process
authorDavid Rautureau <david.rautureau@sonarsource.com>
Wed, 26 Oct 2016 11:48:17 +0000 (13:48 +0200)
committerJulien HENRY <henryju@yahoo.fr>
Fri, 13 Jan 2017 09:05:31 +0000 (10:05 +0100)
it/pom.xml
travis.sh

index 12e153937f7adc0bea4536cd9d59baf51b267e97..7c8a536e36a3406d5a29fb3511d29c35e3d38f9e 100644 (file)
                     String pom = new File(project.basedir, '../pom.xml').getText('UTF-8')
                     def matcher = pom =~ /(?s).*<version>(.*?)-SNAPSHOT<\/version>.*/
                     assert matcher.matches()
-                    project.properties['scanner.version'] = matcher[0][1] + '-build' + System.getenv()['CI_BUILD_NUMBER']
+                    project.properties['scanner.version'] = matcher[0][1] + '.0.' + System.getenv()['CI_BUILD_NUMBER']
                     ]]>
                   </source>
                 </configuration>
index f4b14eae106c655f6bdb926d1429f1bf5e6f30e1..d2f96b147995b01a232b0c7ae64e222eb2cbe08e 100755 (executable)
--- a/travis.sh
+++ b/travis.sh
@@ -4,7 +4,7 @@ set -euo pipefail
 
 function configureTravis {
   mkdir ~/.local
-  curl -sSL https://github.com/SonarSource/travis-utils/tarball/latest | tar zx --strip-components 1 -C ~/.local
+  curl -sSL https://github.com/SonarSource/travis-utils/tarball/v33 | tar zx --strip-components 1 -C ~/.local
   source ~/.local/bin/install                                                                                                                                    
 }
 configureTravis