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,556,438
Community Members
 
Community Events
184
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

0 votes
Lasse Langhorn
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 08, 2020

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.

Rakesh verma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Feb 02, 2023

i am encountering similar issue. Script task is not running my .exe and failing build after sometime with error : 

02-Feb-2023 09:03:49D:\bamboo-agent-home\xml-data\build-dir\SSE-RAN-JOB1\WebAutoProj\bin\Debug>WebAutoProj.exe02-Feb-2023 09:13:51Force Stop build feature is enabled for current plan. Either Bamboo has detected the build has hung or it has been manually stopped.

Please can someone help me with this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events