Changeset 23326
- Timestamp:
- 09/19/18 18:58:24 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/packagers/win10/package64.sh
r23314 r23326 52 52 ls -lah $TARBALL_NAME 53 53 54 # Ship binaries to website 55 echo "Shipping binaries to website" 54 56 55 #To upload to website: 56 scp $TARBALL_NAME websites:/home/larour/files/$TARBALL_NAME 57 # We're using public key authentication method to upload the tarball The 58 # following lines check to see if the SSH Agent is running. If not, then it is 59 # started and relevant information is forwarded to a script. 60 pgrep "ssh-agent" > /dev/null 61 62 if [ $? -ne 0 ]; then 63 echo "SSH agent is not running. Starting it..." 64 ssh-agent > ~/.ssh/agent.sh 65 else 66 echo "SSH agent is running..." 67 fi 68 69 source ~/.ssh/agent.sh 70 ssh-add ~/.ssh/win_bins-geidi_prime_to_ross 71 72 scp $TARBALL_NAME jenkins@ross.ics.uci.edu:/var/www/html/$TARBALL_NAME 73 74 if [ $? -ne 0 ]; then 75 echo "The upload failed." 76 echo "Perhaps the SSH agent was started by some other means." 77 echo "Try killing the agent and running again." 78 fi
Note:
See TracChangeset
for help on using the changeset viewer.