Commit f2b45bda authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

added gitlab ci/cd

parent 68c1d73c
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+6 −0
Original line number Diff line number Diff line
*~
.DS_Store
catalog-v001.xml
target
saref-pipeline.jar
SmartM2M*

.gitlab-ci.yml

0 → 100644
+12 −0
Original line number Diff line number Diff line
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