Commit 3f940f94 authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

parent 69fdf5f6
image: maven:3.3-jdk-8
image: docker:latest
services:
- docker:dind
cache:
paths:
......@@ -19,10 +20,10 @@ build:
- docker tag docker:latest "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest"
- docker push "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest"
sonar:
stage: test
script:
- mvn --batch-mode verify sonar:sonar -Dsonar.exclusions="pom.xml" -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN
#sonar:
# stage: test
# script:
# - mvn --batch-mode verify sonar:sonar -Dsonar.exclusions="pom.xml" -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN
deploy:
stage: deploy
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment