Preserve property files to trigger test jobs 20/46920/1
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 13 Oct 2016 22:22:33 +0000 (08:22 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Thu, 13 Oct 2016 22:22:33 +0000 (08:22 +1000)
The tigger to the ingetration-test jobs are in the publisher
section, while the workspace gets cleaned up at the end of builders
resulting in downstream jobs to fail, as the property file is not found
once the workspace is cleaned up.

As a workaround we have to preserve the variables.prop file for the
autorelease jobs to tigger the downstream jobs, which is accomplished
excluding the file.

Change-Id: I7c023bcb70ea8f4ec4bd9cf648e37a5748ee111c
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
jjb/releng-macros.yaml

index 2bd222632433dca2a2317610b192214c24f98c1a..3dabc46b9980974f7e364bac80ec40f6cc4d3e03 100644 (file)
             script-only-if-failed: False
             mark-unstable-if-failed: True
         - workspace-cleanup:
+            exclude:
+              # autorelease-release-{stream} reqires vaiables.prop file to be preserved
+              # as the downstream test jobs fails invoke without automatically
+              - variables.prop
             fail-build: false
 
 - builder: