- Timestamp:
- 04/08/20 10:36:32 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/packagers/linux/package-issm-linux-binaries.sh
r24695 r24703 71 71 if [[ ${numMatlabTestsFailed} -ne 0 ]]; then 72 72 echo "One or more MATLAB tests FAILED" 73 exit 1 ;73 exit 1 74 74 else 75 75 echo "All MATLAB tests PASSED" … … 90 90 ls -lah ${ISSM_DIR}/${TARBALL} 91 91 92 echo "Shipping binaries to website" 93 94 # We're using public key authentication method to upload the tarball The 95 # following lines check to see if the SSH Agent is running. If not, then it is 96 # started and relevant information is forwarded to a script. 97 pgrep "ssh-agent" > /dev/null 98 if [ $? -ne 0 ]; then 99 echo "SSH Agent is not running. Starting it..." 100 ssh-agent > ~/.ssh/agent.sh 101 else 102 echo "SSH Agent is running..." 103 fi 104 105 source ~/.ssh/agent.sh 106 ssh-add ~/.ssh/debian_linux-vm_to_ross 107 108 scp ${TARBALL} ross.ics.uci.edu:/var/www/html/${TARBALL} 92 echo "Transferring binaries to ISSM Web site" 93 scp -i ~/.ssh/debian_linux-vm_to_ross ${TARBALL} jenkins@ross.ics.uci.edu:/var/www/html/${TARBALL} 109 94 110 95 if [ $? -ne 0 ]; then 111 echo "The upload failed." 112 echo "Perhaps the SSH Agent was started by some other means." 113 echo "Try killing the agent and running again." 96 echo "FAILED: Manually check connection" 97 exit 1 114 98 fi
Note:
See TracChangeset
for help on using the changeset viewer.