From 23f01bc3028ef7b1cd9f9c82264d8b242e5d0013 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Fri, 28 Apr 2023 11:44:03 -0400 Subject: [PATCH] jjb: set follow-symlinks on archive publisher The default for newly created job seems to ahve changed to not including symlinks by default when archiving artefacts. This is problematic for jobs that archive librairies with versioned symlinks. Add the follow-symlinks property to those jobs. Change-Id: I365466ada8c935ce803e28496b4ca055fe8e3f00 Signed-off-by: Michael Jeanson --- jobs/babeltrace-benchmark.yaml | 1 + jobs/babeltrace.yaml | 1 + jobs/librseq.yaml | 1 + jobs/liburcu.yaml | 1 + jobs/lttng-ivc.yaml | 2 ++ jobs/lttng-tools.yaml | 1 + jobs/lttng-ust.yaml | 1 + 7 files changed, 8 insertions(+) diff --git a/jobs/babeltrace-benchmark.yaml b/jobs/babeltrace-benchmark.yaml index 309f5da..a015e4f 100644 --- a/jobs/babeltrace-benchmark.yaml +++ b/jobs/babeltrace-benchmark.yaml @@ -35,6 +35,7 @@ publishers: - archive: artifacts: 'results/**' + follow-symlinks: true allow-empty: false - workspace-cleanup: clean-if: diff --git a/jobs/babeltrace.yaml b/jobs/babeltrace.yaml index f1843a4..b04884f 100644 --- a/jobs/babeltrace.yaml +++ b/jobs/babeltrace.yaml @@ -216,6 +216,7 @@ - archive: &babeltrace_publisher_archive_defaults artifacts: 'build/**,tap/**,log/**' + follow-symlinks: true allow-empty: false - workspace-cleanup: &babeltrace_publisher_workspace-cleanup_defaults clean-if: diff --git a/jobs/librseq.yaml b/jobs/librseq.yaml index b0fd19f..b3ebe45 100644 --- a/jobs/librseq.yaml +++ b/jobs/librseq.yaml @@ -151,6 +151,7 @@ - archive: &librseq_publisher_archive_defaults artifacts: 'build/**,tap/**,log/**' + follow-symlinks: true allow-empty: false - workspace-cleanup: &librseq_publisher_workspace-cleanup_defaults clean-if: diff --git a/jobs/liburcu.yaml b/jobs/liburcu.yaml index 8b03e42..d5c0199 100644 --- a/jobs/liburcu.yaml +++ b/jobs/liburcu.yaml @@ -160,6 +160,7 @@ - archive: &liburcu_publisher_archive_defaults artifacts: 'build/**,tap/**,log/**' + follow-symlinks: true allow-empty: false - workspace-cleanup: &liburcu_publisher_workspace_cleanup_defaults clean-if: diff --git a/jobs/lttng-ivc.yaml b/jobs/lttng-ivc.yaml index c3acbb9..62d4194 100644 --- a/jobs/lttng-ivc.yaml +++ b/jobs/lttng-ivc.yaml @@ -58,6 +58,7 @@ publishers: - archive: artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' + follow-symlinks: true allow-empty: false - junit: results: result.xml @@ -112,6 +113,7 @@ publishers: - archive: artifacts: 'artifacts/**, src/lttng_ivc/runtime/projects_cache/**/log/**' + follow-symlinks: true allow-empty: false - junit: results: result.xml diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index bce2d8b..d2a2ca9 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -444,6 +444,7 @@ - archive: <tng-tools_publisher_archive_defaults artifacts: 'build/**,deps/**,tap/**,log/**' + follow-symlinks: true allow-empty: false - workspace-cleanup: <tng-tools_publisher_workspace-cleanup_defaults diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index a83ac35..3356749 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -241,6 +241,7 @@ - archive: <tng-ust_publisher_archive_defaults artifacts: 'build/**,tap/**,log/**' + follow-symlinks: true allow-empty: false - workspace-cleanup: <tng-ust_publisher_workspace-cleanup_defaults clean-if: -- 2.34.1