Fix integration-test downstream trigger in autorelease 75/46975/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 15 Oct 2016 00:28:09 +0000 (20:28 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Sat, 15 Oct 2016 00:33:58 +0000 (20:33 -0400)
commit0005adeed01f0ed06b280dfaf16ef605e4ff0731
treef78138347762d3793b1851d2ba67bd4c7b3048ad
parent66f8cd9f0585437306723f2cad072e5510fe7b41
Fix integration-test downstream trigger in autorelease

Autorelease-release-{stream} jobs were not triggering downstream
integration-test triggers. This was due to the introduction of
opendaylight-infra-ship logs which moves files for archiving out of the
$WORKSPACE and into the archives directory for shipping to
logs.opendaylight.org. While this is normally fine, Parameterized build
triggers actually are designed to run as a final step in a build rather
than earlier so we need to ensure the input file is still around at the
end of the build.

The solution presented here copies the autorelease variables.prop to a
new variables.jenkins-trigger. One copy is for archiving while the other
copy is for triggering the final build.

Change-Id: Idcf419378fd8f60fab653350be856d60f7ba19aa
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/autorelease-templates.yaml
jjb/autorelease/include-raw-autorelease-get-integration-test-variables.sh
jjb/releng-macros.yaml