Ignore:
Timestamp:
12/18/20 12:10:47 (4 years ago)
Author:
jdquinn
Message:

BUG: Credentials are not stored after checkout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/packagers/mac/complete-issm-mac-binaries-matlab.sh

    r25889 r25891  
    7070## Parse options
    7171#
    72 # NOTE: Checking if more than three arguments because the first two contain
    73 #               the repository credentials
    74 #
    75 if [ $# -gt 3 ]; then
     72if [ $# -gt 1 ]; then
    7673        echo "Can use only one option at a time"
    7774        exit 1
    7875fi
    79 
    80 # Retrieve repository credentials
    81 #
    82 # NOTE: This is not very secure, but better than maintaining the credentials in
    83 #               plaintext
    84 #
    85 # TODO: Either maintain credentials in a secret file on node, or write out
    86 #               crendentials to file in Jenkins 'Execute shell' and source it in each
    87 #               script that requires them
    88 #
    89 export ISSM_BINARIES_REPO_USER="${1}" # NOTE: This is not very secure, but
    90 shift
    91 export ISSM_BINARIES_REPO_PASS="${1}" # NOTE: This is not very secure
    92 shift
    9376
    9477# NOTE: We could do this with binary switching (i.e. 0011 to sign and transfer,
Note: See TracChangeset for help on using the changeset viewer.