-
Notifications
You must be signed in to change notification settings - Fork 98
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
add pwsh step #122
add pwsh step #122
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm fine with either
@Casz the Windows Server Images likely do not have open powershell (pwsh) installed |
This looks good to me. |
I think the testing done in upstream should suffice, if anyone disagree. I can copy the same test here 😓 |
I updated it to use the released version, so a mighty release of this would be appreciated @dwnusbaum @car-roll 🙏 |
@Casz FYI, I filed jenkins-infra/update-center2#305 to suspend distribution of durable-task 1.31 due to some issues on various platforms from a separate change, so we don't want to merge/release this with a dependency on 1.31. We're still trying to decide what to do with that issue, we might end up releasing 1.32 that reverts/disables the problematic change and then we could update to that here, or we might try to fix the issues with jenkinsci/durable-task-plugin#114 and then release 1.32. |
😭 |
so 1.32 has been released and #123 has the 1.32 change as well as a changelog that covers this PR. Since ci.jenkins.io is down, I don't know if you just want to run your tests locally with 1.32 to make sure everything is okay. Would that be good enough to merge this in @dwnusbaum ? |
Here is my basic test that demonstrate it works: Pipeline: node {
pwsh 'Write-Host "Hello from $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition)"'
powershell 'Write-Host "Hello from $($PSVersionTable.PSVersion) $($PSVersionTable.PSEdition)"'
} Run:
|
I can add a test case @car-roll if you want :) |
@slide hmm the new Windows 2019 servers do they have powershell core or do I have to put it in docker? |
They do not have powershell core right now. |
@slide I don't see any docs for buildPlugin on how to use Windows Server 2019 for using Windows Docker 😅 |
@Casz good question, this is the first time this has come up so far. We may need to enhance |
So we are not at 1.33 for durable-task. That should resolve the issues that were introduced in 1.31. So far no other complaints, so you can go ahead and update this dependency again (sorry 😞 ). I think maybe another day with no other major issues popping up, we can merge and release |
Would appreciate a release 🙏 |
sorry for all the delays @Casz 😢 Took some time to make sure durable-task 1.33 didn't introduce any more problems. I'm merging this now. |
No, thank you! Sorry for being so pushy 😓 |
downstream of jenkinsci/durable-task-plugin#111
Hmm, should I add docker fixture or testcontainers or hope that our Windows server 2019 have pwsh?