1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-08-25 20:09:25 +02:00
This commit is contained in:
Dima
2024-09-01 15:48:47 +03:00
parent e6fdfc1151
commit 5c7a6e0a45

View File

@@ -7,7 +7,7 @@ import ru.pulsar.jenkins.library.utils.Logger
class CoverageCleanup implements Serializable {
private final JobConfiguration config;
private final JobConfiguration config
private String encoding = 'UTF-8'
@@ -21,11 +21,11 @@ class CoverageCleanup implements Serializable {
Logger.printLocation()
if (steps.isUnix()) {
def command = "pkill Coverage41C && pkill dbgs"
steps.sh(command, false, false, encoding)
def command = "pkill Coverage41C ; pkill dbgs"
steps.sh(command, true, false, encoding)
} else {
def command = "taskkill /IM Coverage41C /F & taskkill /IM dbgs /F"
steps.sh(command, false, false, encoding)
steps.sh(command, true, false, encoding)
}
}
}