Commit 69fdf5f6 authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

parent 62d9afd1
image: docker:latest image: maven:3.3-jdk-8
services: services:
- docker:dind - docker:dind
...@@ -19,10 +19,10 @@ build: ...@@ -19,10 +19,10 @@ build:
- docker tag docker:latest "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest" - docker tag docker:latest "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest"
- docker push "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest" - docker push "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest"
#sonar: sonar:
# stage: test stage: test
# script: script:
# - mvn --batch-mode verify sonar:sonar -Dsonar.exclusions="pom.xml" -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN - mvn --batch-mode verify sonar:sonar -Dsonar.exclusions="pom.xml" -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN
deploy: deploy:
stage: 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