Permalink
Browse files

Added new build script

  • Loading branch information...
svenkubiak committed Jul 23, 2018
1 parent 01392f8 commit 8388b2aa3f630970e3c40d53729d89313b8be0eb
Showing with 30 additions and 0 deletions.
  1. +12 −0 .gitlab-ci.yml
  2. +18 −0 settings.xml
View
@@ -0,0 +1,12 @@
stages:
- test
- sonar
test:
stage: test
script: mvn clean verify
sonar:
stage: sonar
script:
- mvn clean verify sonar:sonar --settings settings.xml
View
@@ -0,0 +1,18 @@
<settings>
<pluginGroups>
<pluginGroup>org.sonarsource.scanner.maven</pluginGroup>
</pluginGroups>
<profiles>
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<sonar.host.url>${env.SONAR_URL}</sonar.host.url>
<sonar.login>${env.SONAR_USER}</sonar.login>
<sonar.password>${env.SONAR_PASSWORD}</sonar.password>
</properties>
</profile>
</profiles>
</settings>

0 comments on commit 8388b2a

Please sign in to comment.