From aa74884820e0417e49c466d4a8213d065bbab1c3 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 4 Oct 2019 09:13:10 +0000 Subject: [PATCH 1/2] Explains what stage the Code Quality template job is using --- doc/user/project/merge_requests/code_quality.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/user/project/merge_requests/code_quality.md b/doc/user/project/merge_requests/code_quality.md index 3c6677557873b0..bd95163270e828 100644 --- a/doc/user/project/merge_requests/code_quality.md +++ b/doc/user/project/merge_requests/code_quality.md @@ -66,6 +66,13 @@ will scan your source code for code quality issues. The report will be saved as that you can later download and analyze. Due to implementation limitations we always take the latest Code Quality artifact available. +The included `code_quality` job is running in the `test` stage, so it needs to be included in your CI config, like so: + +```yaml +stages: + - test +``` + TIP: **Tip:** This information will be automatically extracted and shown right in the merge request widget. -- GitLab From 10c1fe0b4cb8640db3f056dedaefa30dce63c632 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 4 Oct 2019 09:25:47 +0000 Subject: [PATCH 2/2] Removed trailing space --- doc/user/project/merge_requests/code_quality.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/user/project/merge_requests/code_quality.md b/doc/user/project/merge_requests/code_quality.md index bd95163270e828..92681e741de8d0 100644 --- a/doc/user/project/merge_requests/code_quality.md +++ b/doc/user/project/merge_requests/code_quality.md @@ -69,7 +69,7 @@ take the latest Code Quality artifact available. The included `code_quality` job is running in the `test` stage, so it needs to be included in your CI config, like so: ```yaml -stages: +stages: - test ``` -- GitLab