It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage
  • Community
  • Products
  • Bamboo
  • Questions
  • When I try to deploy usimg a Powershell script I see the following error: Failing task since return code of [powershell -ExecutionPolicy bypass -Command /bin/sh file.ps1. How do I configure Powershell task properly?

When I try to deploy usimg a Powershell script I see the following error: Failing task since return code of [powershell -ExecutionPolicy bypass -Command /bin/sh file.ps1. How do I configure Powershell task properly?

We are trying to deliver web content (several web service folders) to an IIS server using a powershell script and a set of web.config files. The script and config files are stored in Stash and pulled across as part of a checkout task which are then published as artifacts to the deploy job.

1 answer

0 votes

Is your PowerShell task run on a Windows machine? Can you post the screenshot of task configuration and log from the execution? Which Bamboo version are you using?

Suggest an answer

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

Unable to add or edit Bitbucket Cloud repository in Bamboo

On 31 May, a GDPR-related change went live in the Bitbucket Cloud API that resulted in users not being able to create or edit Bitbucket Cloud Linked repositories in Bamboo. This API update removed t...

307 views 2 6
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