Closed DieterE closed 8 years ago
@DieterE from what i understand, there is no full .net powershell on linux. the agent's powershell task execution handler require full .net powershell.
Our powershell handlers are for desktop CLR powershell on windows. If and when we support xplat PS, it will be a new handler. Right now, it's win only task and script support
Hi @bryanmacfarlane do you have any plan to support linux powershell?
@GuofuZhong - to run in your build / release or to write tasks?
@bryanmacfarlane we use linux vsts agent, but we find it cannot work with powershell vsts task. although our linux installed powershell
@GuofuZhong - are you using the latest major version of the powershell task? Version is 2.x
https://github.com/Microsoft/vsts-tasks/blob/master/Tasks/powerShell/task.json#L5
Oh!! Thanks
@bryanmacfarlane Thanks!
hi @bryanmacfarlane, I've been trying to run a powershell script with the powershell vsts task. I'm on Ubuntu and I've got powershell and the vsts agent installed. My problem is very similar, output error points that there is no DotNetFramework installed. There is no DotNet Framework for linux, so how can I make this work? I've opened Task.json on https://github.com/Microsoft/vsts-tasks/tree/master/Tasks/PowerShellV2 and it says that the support for linux ps1 commands was added recently, so I believe that my TFS server has outdated tasks...how can I update them without screwing anything? I'm on a company and we used a remote server, so I don't even know if I have an easy access to it.
Agent version and platform
VSTS type and version
Account name http://quamotion.visualstudio.com
What's not working?
Adding a powershell task in a release definition for a Linux box which has Powershell installed (https://github.com/powershell/powershell)