shell: ta-rpm-deploy: curl should follow redirects 07/1607/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Sep 2019 10:35:05 +0000 (12:35 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 18 Sep 2019 10:35:05 +0000 (12:35 +0200)
commit263030a4071bcdeaca085dde57ca821bc6690092
tree69164b6f6e0a3a2f102f667840473ddec2441ac5
parent7575d2a1bd2d3d9af3d23b20432cc3fe8f100a01
shell: ta-rpm-deploy: curl should follow redirects

Currently, `curl` exits with a 0 status code for HTTP/301, which is
the case for both existent and non-existent artifacts in nexus3,
breaking the logic behind duplicate artifact checking.

This should fix uploading aarch64 artifacts, which are currently
wrongly detected as duplicates due to the above quirk.

Change-Id: I6b3164476b4fcb95115934eda72d53edf102858b
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
jjb/shell/ta-rpm-deploy.sh