Build job hangs after failed deploy

Hello,

After a failed deploy shell (Bash) script (the script returns 1), the build job just hangs until timing out:

Checking running jobs...

Script failed with status 1

failed to deploy

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.

Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received

The build has been terminated

What I have tried so far to debug this:

function finalize {
    echo "Checking running jobs..."
    jobs
}

trap finalize EXIT

Any ideas?

Hey there! :wave:

That does seem odd, but it’s hard to say without looking directly at the build log to see exactly what happened. If it’s an open source project, could you share it with us?

Thank you for your response!
I could not agree more. I am willing to share the log but I cannot freely link to it here since it is a private project. Do you have any suggestions?

Sure! In that case, I’d suggest sending in an email with the details and the log to support@travis-ci.com and our support team will help you right out! :slight_smile: