Trim trailing slashes from URL inputs 31/5731/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 3 Aug 2017 21:09:12 +0000 (17:09 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 3 Aug 2017 21:11:19 +0000 (17:11 -0400)
commitd92e8e1a9fa4734700c3d72c56c97b16ff594ef5
tree8ac868bc824c73334d6221a4345269d926ea6b2f
parent1fef65255a42481271f12371a5447f39398d0a1e
Trim trailing slashes from URL inputs

Trailing slashes in URLs causes the staging code to upload to
//org.opendaylight.project instead of /org.opendaylight.project which
fails our URL pattern matching target defined in Nexus since Nexus
thinks // as a blank directory in the path. We need to make sure
extraneous / does not get pushed in by the user so trim it off if they
do.

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