.gitlab-ci.yml 956 Bytes
Newer Older
ham's avatar
CI  
ham committed
1
2
3
4
5
6
7
stages:
- windows
- linux

masterJobLinux:
  stage: linux
  image: maven:3-jdk-8
ham's avatar
CI    
ham committed
8
9
10
  before_script:
  - apt-get update
  - apt-get install -y openjfx
ham's avatar
CI  
ham committed
11
  script: 
12
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean deploy sonar:sonar --settings settings.xml
ham's avatar
ham committed
13
  - cat report/target/coverage-report/html/index.html
ham's avatar
CI  
ham committed
14
15
16
17
18
19
  only:
  - master
  
masterJobWindows:
  stage: windows
  script: 
20
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install sonar:sonar --settings settings.xml
ham's avatar
CI  
ham committed
21
22
23
24
25
26
  tags:
  - Windows10

BranchJobLinux:
  stage: linux
  image: maven:3-jdk-8
ham's avatar
CI    
ham committed
27
28
29
  before_script:
  - apt-get update
  - apt-get install -y openjfx
ham's avatar
CI  
ham committed
30
31
  script: 
  - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B  clean install --settings settings.xml
ham's avatar
ham committed
32
  - cat report/target/coverage-report/html/index.html
ham's avatar
CI  
ham committed
33
34
  except:
  - master