From 163d13a58f91e7fd88c97a027f90394f82004d47 Mon Sep 17 00:00:00 2001 From: Severin Sprenger <severin.sprenger@sespra.ch> Date: Mon, 21 Oct 2024 08:47:08 +0000 Subject: [PATCH 1/4] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..86c63ce --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,13 @@ +stages: + - test + +lint-test-job: + image: git.sespra.ch:5050/bakxy/ubuntucppcheck:latest + stage: test + script: + - cppcheck --enable=all --xml . 2>report.xml + artifacts: + paths: + - report.xml + reports: + junit: report.xml -- GitLab From e83b995d23acd50fea7a0f153c0530a690a6e44d Mon Sep 17 00:00:00 2001 From: Severin Sprenger <severin.sprenger@sespra.ch> Date: Mon, 21 Oct 2024 08:49:20 +0000 Subject: [PATCH 2/4] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 86c63ce..7ef8263 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,12 +2,12 @@ stages: - test lint-test-job: - image: git.sespra.ch:5050/bakxy/ubuntucppcheck:latest - stage: test - script: - - cppcheck --enable=all --xml . 2>report.xml - artifacts: - paths: - - report.xml - reports: - junit: report.xml + image: git.sespra.ch:5050/bakxy/ubuntucppcheck:latest + stage: test + script: + - cppcheck --enable=all --xml . 2>report.xml + artifacts: + paths: + - report.xml + reports: + junit: report.xml -- GitLab From 4408d406eae997532473bb781dacac535a18ef76 Mon Sep 17 00:00:00 2001 From: Severin Sprenger <severin.sprenger@sespra.ch> Date: Mon, 21 Oct 2024 09:19:26 +0000 Subject: [PATCH 3/4] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7ef8263..014f006 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ lint-test-job: script: - cppcheck --enable=all --xml . 2>report.xml artifacts: + when: always paths: - report.xml reports: -- GitLab From 92df65fc4b201eda831efac0d169a844e8eb4e07 Mon Sep 17 00:00:00 2001 From: Severin Sprenger <severin.sprenger@sespra.ch> Date: Mon, 21 Oct 2024 09:21:14 +0000 Subject: [PATCH 4/4] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 014f006..c3af799 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,4 +11,4 @@ lint-test-job: paths: - report.xml reports: - junit: report.xml + codequality: report.xml -- GitLab