Only ship logs if LOGS_SERVER defined 05/4505/3
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Mon, 24 Apr 2017 15:27:23 +0000 (08:27 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Tue, 25 Apr 2017 20:51:45 +0000 (13:51 -0700)
When new projects are first being stood up they don't always have the
ability to pull their console logs since Jenkins may be in a locked down
mode. If this is the case then the log shipping will always fail and
cause the job to be marked as either FAILED or UNSTABLE. Instead we
should only ship the logs if LOGS_SERVER is defined in Jenkins flagging
that the console logs are publicly available.

Change-Id: I6fc162fec2d7c0cdc1a3785a8ec726d2430d5c96
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>

No differences found