Dear users, Please note that, from Monday, August 16, 2019, RSA keys shorter than 2048bit will no longer be accepted for security reasons. Please update your keys as needed before this date. If you need assistance with regard to this process, please contact sia@list.lu

Thank you for your understanding.

.gitlab-ci.yml 627 Bytes
Newer Older
Olivier Parisot's avatar
Olivier Parisot committed
1
image: maven:3-jdk-8
Olivier Parisot's avatar
Olivier Parisot committed
2

Olivier Parisot's avatar
Olivier Parisot committed
3 4 5
before_script:
    - apt-get update

Olivier Parisot's avatar
Olivier Parisot committed
6 7 8 9
cache:
  paths:
    - .m2/repository

Olivier Parisot's avatar
Olivier Parisot committed
10
build:
Olivier Parisot's avatar
Olivier Parisot committed
11
  script: 
Olivier Parisot's avatar
Olivier Parisot committed
12
    - mvn -Dmaven.test.skip=true -Dsurefire.useSystemClassLoader=false -Dmaven.repo.local=.m2/repository --show-version clean verify
13 14 15 16
  artifacts:
    paths:
    - target/
    expire_in: 1 week
Olivier Parisot's avatar
Olivier Parisot committed
17 18
  
after_script:
Olivier Parisot's avatar
Olivier Parisot committed
19
    ##### sonar
Olivier Parisot's avatar
Olivier Parisot committed
20
    - mvn -Dmaven.test.skip=true -Dsurefire.useSystemClassLoader=false -Dmaven.repo.local=.m2/repository package sonar:sonar -Dsonar.host.url="http://aurora2.private.list.lu:9000"
Olivier Parisot's avatar
Olivier Parisot committed
21 22 23 24
    ##### licences
    - apt-get install ruby -y    
    - gem install license_finder
    - license_finder