Moved jq installation to run on json verification gitlab pipeline only
This commit is contained in:
+1
-1
@@ -10,7 +10,6 @@ variables:
|
|||||||
image: maven:3-openjdk-11
|
image: maven:3-openjdk-11
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -qq && apt-get install -qq -y --no-install-recommends jq
|
|
||||||
- free -mh
|
- free -mh
|
||||||
|
|
||||||
# Cache downloaded dependencies and plugins between builds.
|
# Cache downloaded dependencies and plugins between builds.
|
||||||
@@ -31,6 +30,7 @@ verify:jdk11:
|
|||||||
test:json:
|
test:json:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- apt-get update -qq && apt-get install -qq -y --no-install-recommends jq
|
||||||
- 'find . -name \*.json -type f -print0 | xargs -0 -n1 -P8 jq empty'
|
- 'find . -name \*.json -type f -print0 | xargs -0 -n1 -P8 jq empty'
|
||||||
except:
|
except:
|
||||||
variables:
|
variables:
|
||||||
|
|||||||
Reference in New Issue
Block a user