Skip to content

Commit 2a324eb

Browse files
committed
ci-build.sh: strip trailing slash from scmURL
1 parent 2586f09 commit 2a324eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci-build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ EOL
8888
deployOK=
8989
scmURL=$(mvn -q -Denforcer.skip=true -Dexec.executable=echo -Dexec.args='${project.scm.url}' --non-recursive validate exec:exec 2>&1)
9090
scmURL=${scmURL%.git}
91+
scmURL=${scmURL%/}
9192

9293
if [ $? -ne 0 ]; then
9394
echo "No deploy -- could not extract ciManagement URL"

0 commit comments

Comments
 (0)