You've already forked jenkins-lib
mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-08-25 20:09:25 +02:00
fix
This commit is contained in:
@@ -7,7 +7,7 @@ import ru.pulsar.jenkins.library.utils.Logger
|
|||||||
|
|
||||||
class CoverageCleanup implements Serializable {
|
class CoverageCleanup implements Serializable {
|
||||||
|
|
||||||
private final JobConfiguration config;
|
private final JobConfiguration config
|
||||||
|
|
||||||
private String encoding = 'UTF-8'
|
private String encoding = 'UTF-8'
|
||||||
|
|
||||||
@@ -21,11 +21,11 @@ class CoverageCleanup implements Serializable {
|
|||||||
Logger.printLocation()
|
Logger.printLocation()
|
||||||
|
|
||||||
if (steps.isUnix()) {
|
if (steps.isUnix()) {
|
||||||
def command = "pkill Coverage41C && pkill dbgs"
|
def command = "pkill Coverage41C ; pkill dbgs"
|
||||||
steps.sh(command, false, false, encoding)
|
steps.sh(command, true, false, encoding)
|
||||||
} else {
|
} else {
|
||||||
def command = "taskkill /IM Coverage41C /F & taskkill /IM dbgs /F"
|
def command = "taskkill /IM Coverage41C /F & taskkill /IM dbgs /F"
|
||||||
steps.sh(command, false, false, encoding)
|
steps.sh(command, true, false, encoding)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user