[nautilus/wip/oholy/ci-style-check: 3/5] ci: Add artifacts for style check job
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/oholy/ci-style-check: 3/5] ci: Add artifacts for style check job
- Date: Thu, 26 Mar 2020 12:59:54 +0000 (UTC)
commit f232e093656c7e81e8393b44214f4f4721d3aefb
Author: Ondrej Holy <oholy redhat com>
Date: Thu Mar 26 10:38:09 2020 +0100
ci: Add artifacts for style check job
It is not easy to find out why the style check job failed. Let's expose
the style check job diff over artifacts to make it easier.
.gitlab-ci.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3e21eebb9..cf5b7dfd5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -81,7 +81,14 @@ triage:dry-run:
style check:
image: registry.gitlab.gnome.org/gnome/nautilus:latest
stage: test
+ artifacts:
+ name: 'Style check artifacts'
+ expose_as: 'Get style check diff here'
+ when: on_failure
+ paths:
+ - 'uncrustify.diff'
+ expire_in: 14 days
script:
- gcc data/lineup-parameters.c `pkg-config --cflags --libs gio-2.0 gio-unix-2.0` -o
data/lineup-parameters
- LANG=C.utf8 data/run-uncrustify.sh
- - git diff --exit-code
+ - git diff --exit-code | tee uncrustify.diff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]