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

added gitlab ci/cd

parent 68c1d73c
Loading
Loading
Loading
Loading
+6
Changes for .gitignore: 6 added lines, 0 removed lines.
Original line number Diff line number Diff line
*~
.DS_Store
catalog-v001.xml
target
saref-pipeline.jar
SmartM2M*
+12
Changes for .gitlab-ci.yml: 12 added lines, 0 removed lines.
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