From 92d7d4ccbeeaa2714ee209998d63493b0e6fe97f Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Wed, 15 Jul 2015 14:02:34 -0400 Subject: [PATCH] Add label node restriction definition on dynamic artifacts copy Fix dsl-module jobs not finding artifact. This is due to the new restriction on kernel node for kernel building. --- dsl/kernel-lttng-modules.seed.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/kernel-lttng-modules.seed.groovy b/dsl/kernel-lttng-modules.seed.groovy index 56fe746..50d1011 100644 --- a/dsl/kernel-lttng-modules.seed.groovy +++ b/dsl/kernel-lttng-modules.seed.groovy @@ -234,7 +234,7 @@ if ( result.exitValue() == 0 ) { } } steps { - copyArtifacts("${jobName}/arch=\$arch", "linux-artifact/**", '', false, false) { + copyArtifacts("${jobName}/arch=\$arch,label=kernel", "linux-artifact/**", '', false, false) { latestSuccessful(true) // Latest successful build } shell(readFileFromWorkspace('lttng-modules/lttng-modules-dsl-master.sh')) -- 2.34.1