.gitlab-ci.yml 806 Bytes
Newer Older
Evgeny Kusmenko's avatar
sonar  
Evgeny Kusmenko committed
1 2
#

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
3
stages:
4
- build
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
5

Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
6
masterJobLinux:
7
  stage: build
vonWenckstern's avatar
vonWenckstern committed
8
  image: maven:3-jdk-8
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
9
  script: 
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
10
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy --settings settings.xml
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
11
  - mvn package sonar:sonar -s settings.xml
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
12 13
  only:
  - master
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
14 15
  tags:
  - se
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
16
  
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
17
masterJobWindows:
18
  stage: build
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
19 20
  script: 
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
21 22
  tags:
  - Windows10
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
23 24

BranchJobLinux:
25
  stage: build
vonWenckstern's avatar
vonWenckstern committed
26
  image: maven:3-jdk-8
27 28 29
  before_script:
  - apt-get update
  - apt-get install libxext6
Evgeny Kusmenko's avatar
Evgeny Kusmenko committed
30 31
  script: 
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
kusmenko@se-rwth.de's avatar
kusmenko@se-rwth.de committed
32
  except:
Bernhard Rumpe's avatar
BR-sy  
Bernhard Rumpe committed
33
  - master