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-12-16 13:35:03 +03:00
parent ba1dd4606d
commit 28e38baf83

View File

@@ -38,14 +38,14 @@ class WithCoverage implements Serializable {
body()
CoverageUtils.stopCoverage(steps, config, context)
steps.stash(stage.getCoverageStashName(), stage.getCoverageStashPath(), true)
} catch (Exception e) {
throw new Exception("При выполнении блока произошла ошибка: ${e}")
} finally {
CoverageUtils.stopCoverage(steps, config, context)
String pidsFilePath = "build/${stage.getStageSlug()}-pids"
def pids = ""