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,558,948
Community Members
 
Community Events
184
Community Groups

In Bamboo , How to run script task in x86 or x64 bit mode?

Script task is running cmd or powershell. But i want to run x86 powershell instead of x64 bit. Is there a provision there to run script in desired bit?

As a workaround , If i run command task with providing powershell 32 bit path the script is being executed but the problem is even if build fails it says succeeded.

As per command task the script is invoked and it consider it as success.

2 answers

And once you get past the basics, you may run into a variety of other complications - for example, Windows programs that send error output to stdout by default instead of stderr (we've run into this with sqlcmd and msbuild).  See this thread for some related comments.

0 votes
Bill Carreon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 09, 2018

Howdy,

 

Thanks for reaching out to the Atlassian Community.

You are correct that running the script task in x86 mode will require using the direct path to the x86 version in an x64 environment.

Regarding the build being marked as a success; Bamboo will only consider non-zero exit code successful. To have a build considered a failure, simply have the script exist with a non-zero value.

 

Regards,

Bill Carreon

DevTools Support Engineer

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events