Skip to content

Commit 9516b22

Browse files
authored
Merge pull request #531 from jenkinsci/dduportal-patch-1
fix(deb/publish) ensure `SSH_OPTS` are properly parsed
2 parents 064df23 + 4a57fd4 commit 9516b22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

deb/publish/publish.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ set -euxo pipefail
1212
# $$ Contains current pid
1313
D="$AGENT_WORKDIR/$$"
1414

15+
# Convert string to array to correctly escape cli parameter
16+
SSH_OPTS=($SSH_OPTS)
17+
1518
bin="$(dirname "$0")"
1619

1720
function clean() {

0 commit comments

Comments
 (0)