diff options
author | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-03-19 23:51:07 +0000 |
---|---|---|
committer | Vijay Venkatesh Kumar <vv770d@att.com> | 2019-03-20 00:18:53 +0000 |
commit | 3774d36e76ec5cca17ae2588e65e2a990a32ad87 (patch) | |
tree | 8632fc6c32bdcef9a71dc4c39d7446b181c7834e | |
parent | 2c984ca3fcd2d84e9e08db8f5498db6d3a96bdc5 (diff) |
disable debug for docker login
With debug enabled (under mvn-phase-script.sh), the nexus
pwd get written out on the jenkins logs.
Change-Id: I4c94404486c8c1783cdf71352d07bdf568c393f3
Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com>
Issue-ID: DCAEGEN2-1270
-rw-r--r-- | scripts/mvn-phase-lib.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/mvn-phase-lib.sh b/scripts/mvn-phase-lib.sh index 6e42087..3f3ccf8 100644 --- a/scripts/mvn-phase-lib.sh +++ b/scripts/mvn-phase-lib.sh @@ -1,7 +1,7 @@ #!/bin/bash # ================================================================================ -# Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -517,7 +517,10 @@ build_and_push_docker() fi [ -z "$PASS" ] && PASS_PROVIDED="<empty>" || PASS_PROVIDED="<password>" echo docker login "$REPO" -u "$USER" -p "$PASS_PROVIDED" + + set +x docker login "$REPO" -u "$USER" -p "$PASS" + set -x # local tag is imagename:version-timestamp OLDTAG="${LFQI}" |