Save infra resources 99/79799/6
authorLuis Gomez <ecelgp@gmail.com>
Mon, 21 Jan 2019 20:23:26 +0000 (12:23 -0800)
committerLuis Gomez <ecelgp@gmail.com>
Tue, 22 Jan 2019 02:19:41 +0000 (18:19 -0800)
commitfa39e8f8dd2a6c820abfb33ece6252eddb348c16
treeff2254cf0513d1d1ca84eb17c025544f1df0f775
parent596bd5b0135631cdcfa6c3ea2836f061cbff06c9
Save infra resources

- Only stable AR builds triggers dist test job. Today both stable
and not stable trigger distribution test.

- Jenkins queue has max 1 dist test job triggered by AR. This is
achieved by passing the same parameter BUNDLE_URL=autorelease to
the distribution test job, see: https://stackoverflow.com/questions/
8974170/jenkins-parameterized-job-that-only-queues-one-build

How this works:

Stable AR will trigger a dist test job with BUNDLE_URL=autorelease,
dist test job will resolve autorelease into last stable AR dist URL
and will pass this value down to the CSIT jobs.

Change-Id: I2bc42f1f2053997d2c364384accc0e68a53d4614
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
jjb/autorelease/autorelease-templates.yaml
jjb/integration/integration-detect-variables.sh
jjb/integration/integration-macros.yaml
jjb/integration/integration-test-jobs.yaml