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,299,899
Community Members
 
Community Events
165
Community Groups

Script task doesn't run .exe file

Hello,

I have a problem with a Bamboo task. I use the script task with configuration:

Interpreter - Shell

Script location - Inline

And all I need is to run a test executable. The exact same configuration used to work for other projects, but now it's not. When the script runs the .exe file, nothing happens, it is not run, or at least there is no output. The .exe file should output the progress of tests.

When I add other commands to the script, they work fine as they should, only the .exe file is not executed.

Can anyone help me please?

1 answer

Hi @tym3k,

You should verify that the Bamboo agent executing the .exe file is capable of running the file.

Is it a Windows OS or Linux OS with wine and are the permissions OK for the .exe file in order to be executed. These questions should be investigated.

Hope this will get you further.

Regards

Lasse Langhorn

Thank you for the answer! The OS is Windows and I checked the permissions, they are correct. There is another agent, which can run the executable, but is not feasible for other reasons. So I think that the agent I want to use is missing something. Is there a way to see what the error is, or what the executable shows when it is run? Normally, the exe should output lots of information, but now it's not showing anything, so I think that it either doesn't run at all, or gives an error.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

967 views 3 8
Read article

Community Events

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

Events near you