Browse Source

BUILD-265 Move to the new release process

tags/2.9.0.670
David Rautureau 7 years ago
parent
commit
1bb53d8a30
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      it/pom.xml
  2. 1
    1
      travis.sh

+ 1
- 1
it/pom.xml View File

@@ -103,7 +103,7 @@
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>

+ 1
- 1
travis.sh View File

@@ -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

Loading…
Cancel
Save