|
Last change
on this file since 27944 was 27944, checked in by jdquinn, 3 years ago |
|
CHG: Support for MATLAB binaries on Windows
|
|
File size:
874 bytes
|
| Rev | Line | |
|---|
| [27944] | 1 | #!/bin/bash
|
|---|
| 2 |
|
|---|
| 3 | ################################################################################
|
|---|
| 4 | # Transfers ISSM distributable package for Windows to ISSM website.
|
|---|
| 5 | #
|
|---|
| 6 | # NOTE:
|
|---|
| 7 | # - Assumes that the following constants are defined,
|
|---|
| 8 | #
|
|---|
| 9 | # COMPRESSED_PKG
|
|---|
| 10 | #
|
|---|
| 11 | # See also:
|
|---|
| 12 | # - packagers/win/complete-issm-win-binaries-matlab.sh
|
|---|
| 13 | # - packagers/win/complete-issm-win-binaries-python-2.sh
|
|---|
| 14 | # - packagers/win/complete-issm-win-binaries-python-3.sh
|
|---|
| 15 | ################################################################################
|
|---|
| 16 |
|
|---|
| 17 | # Transfer package to ISSM Web site
|
|---|
| 18 | echo "Transferring package to ISSM Web site"
|
|---|
| 19 | scp -i ~/.ssh/windows_10-vm_to_ross ${COMPRESSED_PKG} jenkins@ross.ics.uci.edu:/var/www/html/${COMPRESSED_PKG}
|
|---|
| 20 |
|
|---|
| 21 | if [ $? -ne 0 ]; then
|
|---|
| 22 | echo "Transfer failed! Verify connection then build this project again (with -t/--transferonly option to skip building and packaging)."
|
|---|
| 23 | exit 1
|
|---|
| 24 | fi
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.