Closed dstults closed 3 years ago
Sample echo-to-file to get started with deployment script in light of jenkins not having a built-in editor:
echo '#!/bin/bash' > deploy.sh
echo 'echo SCRIPT: Deploying to [ $1.funteachers.org ] ...' >> deploy.sh
echo 'echo SCRIPT: Deployment complete!' >> deploy.sh
Have jenkins run shell command of "../deploy.sh " + $GIT_BRANCH
Requires #205 to be fixed first