Unable to find executable file

I have a task which is to execute a PowerShell script. However the system can not find it.

Unable to find executable at C:\Source\dockerdemo\DockerDemo\src\DockerDemo\CustomDockerProfile.publish.ps1. Will try to run it anyway.

See the plan image.

script.PNG

After read  https://answers.atlassian.com/questions/11962663

I used a command task. I got a different error:

E:\bamboo-home\xml-data\build-dir\DOC-DOC-JOB1\CustomDockerProfile.publish.ps1

: The term 'E:\bamboo-home\xml-data\build-dir\DOC-DOC-JOB1\CustomDockerProfile.

publish.ps1' is not recognized as the name of a cmdlet, function, script file,

or operable program. Check the spelling of the name, or if a path was

included, verify that the path is correct and try again.

1 answer

1 accepted

This widget could not be displayed.

Hi @Hui Zhao,

At the first glance it looks like this is a user permission issue. Can you please check if the system user running Bamboo has read/write/execute permissions in the script you're trying to run?

If you run Bamboo as Windows Service, please ensure that the account configured in the service has read/write/execute permissions.

I hope this helps!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

124 views 2 0
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