diff options
author | Olivier Gonzalez <ogonzalez@gitlab.com> | 2018-03-28 11:57:12 -0400 |
---|---|---|
committer | Olivier Gonzalez <ogonzalez@gitlab.com> | 2018-03-28 11:57:12 -0400 |
commit | c368c23c33165719b1e4952203d2143450a94890 (patch) | |
tree | edd4ed3109bcff2d9a956a144ce7fae09055b19d /doc/ci | |
parent | 5ac5767e05474a0dfe37b6a0a619948bd91fccd8 (diff) | |
download | gitlab-ce-c368c23c33165719b1e4952203d2143450a94890.tar.gz |
Fix code quality example documentation
Diffstat (limited to 'doc/ci')
-rw-r--r-- | doc/ci/examples/code_climate.md | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/ci/examples/code_climate.md b/doc/ci/examples/code_climate.md index ec5e5afb8c6..64a759a9a99 100644 --- a/doc/ci/examples/code_climate.md +++ b/doc/ci/examples/code_climate.md @@ -15,13 +15,8 @@ codequality: services: - docker:dind script: - - docker pull codeclimate/codeclimate - 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 + - 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 artifacts: paths: [codeclimate.json] ``` |