summaryrefslogtreecommitdiff
path: root/spec/fixtures
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-01-19 21:10:45 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-01-19 21:10:45 +0000
commitf265a70317c69af9d955d9a4c303b0bbcb8261ee (patch)
treefc8d8bd0d82dd713faa94fcab40235667f9267c4 /spec/fixtures
parent83e4339a328c1a8c8e232d06f7d5e49c6e699fba (diff)
downloadgitlab-ce-f265a70317c69af9d955d9a4c303b0bbcb8261ee.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/pipeline_artifacts/code_quality.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/fixtures/pipeline_artifacts/code_quality.json b/spec/fixtures/pipeline_artifacts/code_quality.json
new file mode 100644
index 00000000000..26b6d772a49
--- /dev/null
+++ b/spec/fixtures/pipeline_artifacts/code_quality.json
@@ -0,0 +1,16 @@
+{
+ "files": {
+ "demo.rb": [
+ {
+ "line": 5,
+ "description": "Method `new_array` has 8 arguments (exceeds 4 allowed). Consider refactoring.",
+ "severity": "major"
+ },
+ {
+ "line": 5,
+ "description": "Avoid parameter lists longer than 5 parameters. [8/5]",
+ "severity": "minor"
+ }
+ ]
+ }
+}