.gitlab-ci.yml 811 Bytes
Newer Older
vonWenckstern's avatar
vonWenckstern committed
1

2 3 4 5 6 7 8 9
stages:
- windows
- linux

masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script: 
10
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
11 12
  - cat target/site/jacoco/index.html
  - mvn package sonar:sonar -s settings.xml
13 14 15
  only:
  - master
  
16 17 18
masterJobWindows:
  stage: windows
  script:
19
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
20 21
  tags:
  - Windows10
22 23 24 25 26

BranchJobLinux:
  stage: linux
  image: maven:3-jdk-8
  script: 
27
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
28
  - cat target/site/jacoco/index.html
29 30
  except:
  - master