1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/wst021sh-sonar-auth-gitlab-plugin

Клонировать/Скачать
.gitlab-ci.yml 1.3 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Nicolas Poste Отправлено 18.12.2017 12:20 f587a07
image: maven:3.3.3-jdk-8
stages:
- build
- test
- deploy
build_job:
stage: build
only:
- master
script:
- mvn --batch-mode compile -Dmaven.test.skip=true -Djacoco.skip=true
tags:
- docker
build_merge_job:
stage: build
except:
- master
- tags
script:
- git merge origin master --no-commit --no-ff
- mvn --batch-mode compile -Dmaven.test.skip=true -Djacoco.skip=true
tags:
- docker
test_sonar_preview_job:
stage: test
except:
- master
- tags
script:
- git merge origin master --no-commit --no-ff
- mvn --batch-mode verify org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN -Dsonar.analysis.mode=preview -Dsonar.issuesReport.console.enable=true -Dsonar.gitlab.commit_sha=$CI_BUILD_REF -Dsonar.gitlab.ref=$CI_BUILD_REF_NAME -Dsonar.gitlab.project_id=$CI_PROJECT_ID
tags:
- docker
test_sonar_job:
stage: test
only:
- master
script:
- mvn --batch-mode verify org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar -Dsonar.host.url=$SONAR_URL -Dsonar.login=$SONAR_LOGIN
- mvn --batch-mode verify org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar -Dsonar.host.url=$SONAR_OFF_URL -Dsonar.login=$SONAR_OFF_LOGIN
tags:
- docker

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/wst021sh-sonar-auth-gitlab-plugin.git
git@api.gitlife.ru:oschina-mirror/wst021sh-sonar-auth-gitlab-plugin.git
oschina-mirror
wst021sh-sonar-auth-gitlab-plugin
wst021sh-sonar-auth-gitlab-plugin
master