Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • 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?

Alex Ralph
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!
August 10, 2016

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
Krystian Brazulewicz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2016

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
TAGS
AUG Leaders

Atlassian Community Events