diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..da9ca88c84e367b2d2df7c65f60e7d4347a656d2 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,16 @@ +image: jrbm/static-code-analysis-standard + +stages: + - verify + +variables: + SONAR_URL: http://10.160.238.11:9000/ + +verify_master: + stage: verify + tags: + - docker + only: + - master + script: + - sonar-scanner -X -Dsonar.host.url=$SONAR_URL -Dsonar.projectKey=$CI_PROJECT_PATH_SLUG -Dsonar.sources=. -Dsonar.login=$SONAR_TOKEN_TEST -Dsonar.branch.name=master