diff options
author | Matija Čupić <matteeyah@gmail.com> | 2019-03-07 16:05:22 +0100 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2019-03-15 16:37:26 +0100 |
commit | 3b3b16024178af72e3e84bda61a54e7f3c480e29 (patch) | |
tree | ef5cee7e9305903ca9b5237968ebf49432a8c9a2 | |
parent | 9e91e05dc6d75a2f3017def160ca9876ea9e0249 (diff) | |
download | gitlab-ce-3b3b16024178af72e3e84bda61a54e7f3c480e29.tar.gz |
Hardcode CodeQuality version used
-rw-r--r-- | lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml b/lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml index 2e8d1184ef3..ebb01ae19ca 100644 --- a/lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml +++ b/lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml @@ -13,13 +13,11 @@ code_quality: cache: {} dependencies: [] script: - # Extract "MAJOR.MINOR" from CI_SERVER_VERSION and generate "MAJOR-MINOR-stable" for Security Products - - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/') - docker run --env SOURCE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock - "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code + "registry.gitlab.com/gitlab-org/security-products/codequality:11-8-stable" /code artifacts: reports: codequality: gl-code-quality-report.json |