Skip to content

Commit

Permalink
Try something else
Browse files Browse the repository at this point in the history
  • Loading branch information
alextu committed Sep 19, 2024
1 parent ac404ea commit ade564f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ abstract class BaseGradleIntegrationTest extends AbstractIntegrationTest {

@SuppressWarnings("CatchException")
def cleanup() {
if(Functions.isWindows() && gradleInstallationRule.gradleVersion != '8.10.1') {
if(Functions.isWindows()) {
try {
println 'Killing Gradle processes'
def proc = '''WMIC PROCESS where "Name like 'java%%' AND CommandLine like '%%hudson.plugins.gradle.GradleInstallation%%'" Call Terminate"'''.execute()
def proc = '''WMIC PROCESS where "Name like 'java%' AND CommandLine like '%hudson.plugins.gradle.GradleInstallation%'" Call Terminate"'''.execute()
proc.waitFor(30, TimeUnit.SECONDS)
println "output: ${proc.text}"
println "code: ${proc.exitValue()}"
Expand Down

0 comments on commit ade564f

Please sign in to comment.