Moved jq installation to run on json verification gitlab pipeline only

This commit is contained in:
Ryan 2023-03-02 13:35:47 +00:00
parent 72204740df
commit 17d1a9619c

View file

@ -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: