Improve error detection for when SSL invalid 46/5146/2
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 12 Jun 2017 00:37:00 +0000 (20:37 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 12 Jun 2017 01:36:24 +0000 (21:36 -0400)
commit032dbbae86190f6e7937db103513eb5dff6bb95d
tree3ccb62b320f29b5f9fda7f5cbdcb4985b992b9e8
parent06eda599e8800264f5e631db213a50ab53b5f48c
Improve error detection for when SSL invalid

If SSL cert is invalid we don't even reach the Nexus server. So add code
to check that status is 201 before proceeding.

Change-Id: Ic5c8a0ce4177f73e6f753001ee8bbc5fdf02956c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/deploy