Pipelines not working

Pipelines failed all the times. 

/opt/atlassian/pipelines/agent/tmp/bashScript5488901748017688290.sh: line 12: grails: command not found

Could you help us, please?

1 answer

0 vote
Matt Ryall Atlassian Team Feb 13, 2017

Thanks for raising this, Eduard. Due to some recent infrastructure changes, Pipelines is now running your ~/.bashrc file (or similar) in non-interactive mode. For a small number of customers this prevents proper initialisation of the build container. In your case, it may have prevented $PATH being set correctly and caused this error.

Here's the issue where we're tracking this problem: https://bitbucket.org/site/master/issues/13844/bitbucket-pipelines-command-not-found

We're in the process of rolling out a fix for this now, so you should see your pipelines going green again shortly. Apologies for the inconvenience.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,771 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you