appcfg.py: command not found

I am trying to to deploy my project using Bamboo. I can do the deployment manually from running deploy script on the bamboo agent. But when creating a deploy plan and running it I get the error that 

appcfg.py: command not found

appcfg.py is Google App Engine script. App Engine is installed on the Bamboo agent as I can deploy it running from agent myself. The bamboo-agent is running under ubuntu user name (same user that I deployed manually from bamboo agent)

When running which appcfg.py I get the location:
/usr/lib/google_appengine/appcfg.py

/usr/lib/google_appengine is added to PATH in:
/etc/bash.bashrc

Where is the catch?

1 answer

1 accepted

Have you tried running 'ps -p $$' from a build task to confirm it's actually running within a bash shell and not the default /bin/sh shell?

Thanks Luke, it seems indeed that the Bamboo is running from sh shell...

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,568 views 0 6
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