blob: 54bbacf26871f539fd3132d322638e0402690b4a [file] [log] [blame]
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +02001image: archive.docker-registry.eecloud.nsn-net.net/imp/matryoshka:latest
2
3stages:
4 - build
Piotr Jaszczyk0aa02842018-06-06 13:18:05 +02005 - publish
6 - trigger-integration-tests
Piotr Jaszczyke98fdcc2018-04-26 09:17:09 +02007
8build:
9 stage: build
10 script:
11 - mvn -e -T2 -Panalysis clean install
12 artifacts:
13 paths:
Piotr Jaszczyk0aa02842018-06-06 13:18:05 +020014 - 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 Jaszczyka4becf22018-05-29 13:35:11 +020018
Piotr Jaszczyk0aa02842018-06-06 13:18:05 +020019publish:
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"