Skip to content

Commit

Permalink
fix stop
Browse files Browse the repository at this point in the history
  • Loading branch information
ovcharenko-di committed Dec 16, 2024
1 parent ba1dd46 commit 28e38ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ru/pulsar/jenkins/library/steps/WithCoverage.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit 28e38ba

Please sign in to comment.