diff --git a/.gitignore b/.gitignore index 604fd331fbc4c2e582691c84f9a5d689ac270754..fda52e8417ce6a2bf2e4595e91a04fe592b43f3a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *~ .DS_Store catalog-v001.xml +target diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..0f2fde995db11777e2a67f0688d938eeffafa16e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,12 @@ +image: openjdk:8-jdk + +check: + script: + - curl -L -o saref-pipeline.jar "https://gitlab.emse.fr/saref/saref-pipeline/-/jobs/artifacts/master/raw/target/saref-pipeline.jar?job=build" + - java -jar saref-pipeline.jar -g -s + artifacts: + when: always + paths: + - target/report_output.xml # allows to visualize the report as HTML on the SAREF portal + reports: + junit: target/report_output.xml # allows to visualize the errors when discussing a pull request