I wrote a inline python script using the script task in bamboo. The job will be run on windows so the script has "#!python" as the first line so windows knows its a python script since there isn't an interpreter option.
The script task executes fine and runs all the inline script but outputs the error "Unable to find executable at python. Will try to run it anyway."
How do I get rid of the error?
According to this documentation, this is how shebang works. Bamboo is just running the command in the machine so the error message is thrown by the machine.
As a test, try saving the commands in a file and run the file manually inside the Windows machine through the Command Prompt.
On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events