Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrycz committed Jan 21, 2020
1 parent 974b561 commit 035db88
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,27 +34,15 @@ test:
- mvn -B clean compile sonar:sonar -Dsonar.host.url=http://sonar.si.cnr.it test package -fae
allow_failure: true

deploy_dev_snapshot:
stage: deploy_snapshot
image: docker.si.cnr.it/cnr-maven:$CNR_MAVEN_VERSION
only:
- dev
script:
- mvn -B clean compile package deploy -DskipTests -Pdev


# branch TEST & DEMO

deploy_snapshot:
stage: deploy_snapshot
image: docker.si.cnr.it/cnr-maven:$CNR_MAVEN_VERSION
only:
- test
- demo
- prod
- master
script:
- mvn -B clean compile package -DskipTests -Pprod -U
- cp ./target/*.war ./target/app.war
- mvn -B clean compile package deploy -DskipTests -Pprod -U


buildtestcontainer:
stage: build_test_container
Expand Down

0 comments on commit 035db88

Please sign in to comment.