Changeset 25889
- Timestamp:
- 12/18/20 01:03:11 (4 years ago)
- Location:
- issm/trunk-jpl/packagers/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/packagers/mac/complete-issm-mac-binaries-matlab.sh
r25887 r25889 70 70 ## Parse options 71 71 # 72 if [ $# -gt 1 ]; then 73 echo "Can only use one option at a time" 72 # NOTE: Checking if more than three arguments because the first two contain 73 # the repository credentials 74 # 75 if [ $# -gt 3 ]; then 76 echo "Can use only one option at a time" 74 77 exit 1 75 78 fi 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 76 93 77 94 # NOTE: We could do this with binary switching (i.e. 0011 to sign and transfer, -
issm/trunk-jpl/packagers/mac/transfer-issm-mac-binaries-matlab.sh
r25888 r25889 70 70 } 71 71 72 # TEST73 echo "ISSM_BINARIES_REPO_USER: ${ISSM_BINARIES_REPO_USER}"74 echo "ISSM_BINARIES_REPO_PASS: ${ISSM_BINARIES_REPO_PASS}"75 76 72 # Check if working copy of repository for signed packages is missing 77 73 validate_signed_repo_copy
Note:
See TracChangeset
for help on using the changeset viewer.