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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

101 views 3 4
Join discussion

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