X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fdocker-login.sh;h=92da7e0d03f213c7601f5dcda471825659492e82;hb=c4295ab63bdbbceb6647b86ae27732364c2bce26;hp=6613118e71c22c98d44301fbeb3343a05a5ad8df;hpb=dd42fc20909306ec8af61757ea8d1ae7e179bec9;p=releng%2Fglobal-jjb.git diff --git a/shell/docker-login.sh b/shell/docker-login.sh index 6613118e..92da7e0d 100644 --- a/shell/docker-login.sh +++ b/shell/docker-login.sh @@ -35,6 +35,7 @@ set -eu -o pipefail # Execute the credential lookup and login to the registry do_login() { + set +x # Ensure that no other scripts add `set -x` and print passwords echo "$1" CREDENTIAL=$(xmlstarlet sel -N "x=http://maven.apache.org/SETTINGS/1.0.0" \ -t -m "/x:settings/x:servers/x:server[starts-with(x:id, '${1}')]" \