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
before_script:
- apt-get update -qq && apt-get install -qq -y --no-install-recommends jq
- free -mh
# Cache downloaded dependencies and plugins between builds.
@ -31,6 +30,7 @@ verify:jdk11:
test:json:
stage: test
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'
except:
variables: