Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
57ce7c65
Commit
57ce7c65
authored
Mar 02, 2018
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
codequality: Install jq directly instead of pulling it via docker
parent
e17d8ad8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
.gitlab-ci.yml
.gitlab-ci.yml
+2
-1
No files found.
.gitlab-ci.yml
View file @
57ce7c65
...
...
@@ -619,9 +619,10 @@ codequality:
cache
:
{}
dependencies
:
[]
script
:
-
apk update && apk add jq
-
./scripts/codequality analyze -f json > raw_codeclimate.json ||
true
# The following line keeps only the fields used in the MR widget, reducing the JSON artifact size
-
cat raw_codeclimate.json | docker run -i stedolan/jq -c 'map({check_name,description,fingerprint,location})'
> codeclimate.json
-
jq -c 'map({check_name,description,fingerprint,location})' raw_codeclimate.json
> codeclimate.json
artifacts
:
paths
:
[
codeclimate.json
]
expire_in
:
1 week
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment