Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 1 | image: archive.docker-registry.eecloud.nsn-net.net/imp/matryoshka:latest |
| 2 | |
| 3 | stages: |
| 4 | - build |
Piotr Jaszczyk | 0aa0284 | 2018-06-06 13:18:05 +0200 | [diff] [blame] | 5 | - publish |
| 6 | - trigger-integration-tests |
Piotr Jaszczyk | e98fdcc | 2018-04-26 09:17:09 +0200 | [diff] [blame] | 7 | |
| 8 | build: |
| 9 | stage: build |
| 10 | script: |
| 11 | - mvn -e -T2 -Panalysis clean install |
| 12 | artifacts: |
| 13 | paths: |
Piotr Jaszczyk | 0aa0284 | 2018-06-06 13:18:05 +0200 | [diff] [blame] | 14 | - hv-collector-coverage/target/site/jacoco-aggregate |
| 15 | - hv-collector-core/target/reports |
| 16 | - hv-collector-main/target/reports |
| 17 | - hv-collector-utils/target/reports |
Piotr Jaszczyk | a4becf2 | 2018-05-29 13:35:11 +0200 | [diff] [blame] | 18 | |
Piotr Jaszczyk | 0aa0284 | 2018-06-06 13:18:05 +0200 | [diff] [blame] | 19 | publish: |
| 20 | stage: publish |
| 21 | only: |
| 22 | - master |
| 23 | script: |
| 24 | - docker login $DOCKER_REPO_ADDR -u $DOCKER_REPO_USER -p $DOCKER_REPO_PASS |
| 25 | - mvn -e -DskipTests -DskipAnalysis -Ddocker.registry="$DOCKER_REPO_ADDR" deploy |
| 26 | - "curl -X POST -F token=$INTEGRATION_TESTS_TRIGGER_TOKEN -F ref=master https://gitlabe1.ext.net.nokia.com/api/v4/projects/33403/trigger/pipeline" |