Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,854
Community Members
 
Community Events
184
Community Groups

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.

2 answers

1 accepted

1 vote
Answer accepted
Felipe Kraemer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Mar 28, 2016

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!

Adding a small point further, on the 'Log on as a service' window, remove your username and then add again. Worked for me. Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events