-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Kill processes after completing build and before publishing test results or artifacts #7228
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
Conversation
…lts or artifacts - aspnet/AspNetCore-Internal#1735 - port dotnet/extensions@e2bb8ac1a0 fix into this repo - change `ci-official.yml` and `default-build.yml` instead of `azure-pipelines.yml`
f8d2591
to
35f4208
Compare
We should do this in ci.yml and delete ci-official.yml from 2.x branches. It's not used and I removed that file from the master branch in favor of ci.yml. |
|
The OOM error on linux seems unrelated. @natemcmaster is that tracked somewhere? I seem to remember you mentioning something similar. |
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.
The code seems fine. I'll be happy when @natemcmaster is happy.
Agreed, I copied from the wrong tab. The bug related to this PR is #4067. |
Yes sounds good to me |
Actually, aspnet/AspNetCore-Internal#1735 is |
eng/scripts/KillProcesses.ps1
Outdated
@@ -0,0 +1,16 @@ | |||
#!/usr/bin/env pwsh -c |
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.
Still don't think this is useful to run on *nix. taskkill
is not an available command, so this script will never work on anything but Windows (which doesn't interpret the shebang)
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.
🆗 you've convinced me 😺 I'll remove this and do chmod -x
on the file.
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.
Once this goes through, I'll run through the aspnet/Extensions branches to make KillProcesses.ps1
consistent.
eng/scripts/KillProcesses.ps1
Outdated
@@ -0,0 +1,16 @@ | |||
#!/usr/bin/env pwsh -c |
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.
🆗 you've convinced me 😺 I'll remove this and do chmod -x
on the file.
ci-official.yml
anddefault-build.yml
instead ofazure-pipelines.yml