Fix Manual Triggering of Docker Jobs 27/57627/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 21 May 2018 07:47:57 +0000 (00:47 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Mon, 21 May 2018 07:47:57 +0000 (00:47 -0700)
commitcdd9060386c25a5481244a24e84fd7fc3ab03d90
tree14d04058dabdecd333cacd90e61636fdda83ccf1
parent0eeb4e2f3fa28e80a5b076c55d9e2b77b2927ebb
Fix Manual Triggering of Docker Jobs

When manually triggering a docker job (or even through timed builds),
GERRIT_EVENT_TYPE will not get set. This does gets set when the job is
triggered by a Gerrit event (ex: ref-updated, comment-added).

Specifying the variable lookup to default to nothing (ex: "${FOO:-}")
should allow non-Gerrit triggered jobs to complete successfully.

Change-Id: Ic1ba8ebef0967b0f20a2d6385ce0e0b4876901dc
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/releng/opnfv-docker.sh