Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Linux Build server, run powershell script

Tim R
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!
February 19, 2018

Currently have a linux rhel7 build server and trying to run a pwsh ".\build.ps1" script.

 

Always fails, how can I run on a linux build server running this command.

 

Thanks

1 answer

0 votes
Omar Herrera
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.
February 19, 2018

Hi Tim, I achived this with simple steps en ubuntu 16.04 I think these steps can be usefull for you in rhel7.

1. On the agent (ubuntu 16.04) capabilities add new capabities for powershell v6.0. I have attached image

2. On the configurations I use the new commad for powershell with arguments. I have attached image

This script execute succesfully.

Regards.

bamb1.JPGbamb2.JPG

Tim R
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!
February 19, 2018

Thank you, testing out

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events