Fatih Degirmenci | 1fef16e | 2019-09-06 13:55:03 +0200 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | set -o errexit |
| 4 | set -o nounset |
| 5 | set -o pipefail |
| 6 | |
| 7 | cd $WORKSPACE |
| 8 | echo "Info: Cleaning the previous deployment" |
| 9 | echo "-------------------------------------------------------------------------" |
| 10 | ./stop.sh |
| 11 | echo "-------------------------------------------------------------------------" |
| 12 | echo "Info: Deploying the new version of nolabs" |
| 13 | echo "-------------------------------------------------------------------------" |
| 14 | ./start.sh |
| 15 | echo "-------------------------------------------------------------------------" |
| 16 | echo "Info: Deployment successful!" |