Commit b0c8187e authored by Frédéric Dalleau's avatar Frédéric Dalleau

Import gitlab ci test job from apertis-image-recipes

This test job is used to check syntax of Jenkins file and debos recipes.
It is very useful to have in gitlab to avoid playing with Jenkins
Signed-off-by: default avatarFrédéric Dalleau <frederic.dalleau@collabora.com>
parent e6358674
Pipeline #3185 failed with stage
in 1 minute and 36 seconds
jenkinsfile-unit-tests:
image: debian:stretch
stage: test
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
- apt-get install --no-install-recommends -y gradle
script:
- gradle --no-daemon test
artifacts:
paths:
- build/reports/tests/test/classes/
reports:
junit:
- build/test-results/test/TEST-*.xml
debos-dry-run:
image: docker-registry.apertis.org/apertis/apertis-v2019pre-image-builder
stage: test
script:
- 'for i in *.yaml ; do debos --print-recipe --dry-run "$i" ; done'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment