Hi,
thanks,
Chris
1) If you have Windows Bamboo Agents, you can use them to run PowerShell scripts within a build regardless of the OS of the Bamboo Server itself.
2) Are you trying to run PowerShell scripts on a remote computer other than a Bamboo Agent? Like as part of a deployment? That should be possible use the SSH task or something like that.
I want to notify you that PowerShell Task Addon supports Linux now (you just need to install pwsh). So answer on both questions is yes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you need a Windows Bamboo agent to use PowerShell Task.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well, shouldn't the build plan task be smart enough to not have windows powershell drop down available for a Linux Agent?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Build plans know nothing about agents. Compatibility with agents is checked later when a build is about to be run. Then only appropriate agents are selected.
BTW, if you need running PowerShell on Linux PowerShell Task Addon supports it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much! Sorry to complain about a thread that's 3 years old without doing my homework.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The two agents are both local, so, no, they would have to be linux since this Bamboo instance is on linux. So it appears I would need to have a remote agent on the Windows server where I could use "PowerShell" task, or use an SSH task.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.