Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename PowerShell binary on Linux/macOS to pwsh #9

Merged

Conversation

rkeithhill
Copy link

Several months back the PowerShell team renamed the binary for PowerShell Core to pwsh on Linux and macOS and pwsh.exe on Windows. I believe when running on Windows systems, we want to continue to use Windows PowerShell (powershell.exe) as the default. However if there was a way the user could choose between pwsh.exe and powershell.exe on Windows, that would be really useful. Neither is a full superset of the other - each has unique functionality.

We should also consider renaming the plugin from Windows PowerShell to just PowerShell. See https://blogs.msdn.microsoft.com/powershell/2017/07/14/powershell-6-0-roadmap-coreclr-backwards-compatibility-and-more/ for more info on PowerShell editions.

@rkeithhill
Copy link
Author

OK I've created an associated issue for this PR - https://issues.jenkins-ci.org/browse/JENKINS-49443

@mfwatts
Copy link

mfwatts commented Feb 7, 2018

I would use this right now if it was available!

@chrisalbrecht chrisalbrecht self-assigned this Feb 28, 2018
@chrisalbrecht
Copy link
Contributor

Looks great. Sorry for the delay in getting to this.

@chrisalbrecht chrisalbrecht merged commit d3e8aec into jenkinsci:master Feb 28, 2018
@rkeithhill rkeithhill deleted the rkeithhill/update-binary-name branch February 28, 2018 16:06
@MassimoSporchia
Copy link

@chrisalbrecht I've seen that this was merged but there was no release associated with it.
Any way to do it?

@reddwarf666
Copy link

Is there a way to get this working on my Jenkins installation running on MacOS?

On the plugin site and on the wiki I see only older versions but it seems there might be an updated variant that might work with PowerShell Core?
Is there a way to download the jpi or hpi separately if needed?

Sorry if I got this wrong, Jenkins is quite new for me

@jtmoree-github-com
Copy link

what is the status on this? our jenkins install has the latest code for the powershell plugin but everything still runs under ps 5.

@duemir
Copy link
Member

duemir commented Sep 3, 2019

Hmmm. It looks like the change was merged but never released.

@duemir
Copy link
Member

duemir commented Sep 3, 2019

@chrisalbrecht Will you be able to do a release?

@iandrewdunn
Copy link

Any status on this?

@chrisalbrecht
Copy link
Contributor

chrisalbrecht commented Sep 10, 2019

@duemir @iandrewdunn I don't have my dev environment set up to do a release at the moment, I tried pinging @damienfinck to see if he can - but I haven't heard back. I'll try to find a bit of time this week to get everything up and running to release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
9 participants