Well, at least until my build minutes are up. I am deploying by running a shell script. This script finishes properly, but the pipeline does not notice that and stays in the "in progress" state.
Does anybody have an idea about why this is happening? This is my pipeline:
image: atlassian/default-image:latest
pipelines:
default:
- step:
deployment: staging
- cat ./deploy.sh | ssh -tt root@justbee.nl bash -s - $BITBUCKET_REPO_SLUG $BITBUCKET_BRANCH
- echo "Deploy step finished"
The script that is called:
echo "Deploy script started"
cd /somewhere
bash pull.sh "$1" "$2"
echo "Deploy script finished execution"
exit 0
The script that is called from here is also properly exitting.