Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ovcharenko-di committed Dec 2, 2024
1 parent f724af3 commit 0884437
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ru/pulsar/jenkins/library/utils/CoverageUtils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class CoverageUtils {

def coverageOpts = config.coverageOptions

String dbgsPath = findDbgs(steps, config.v8version)
String dbgsPath = findDbgs(steps, config)

steps.start("${dbgsPath} --addr=127.0.0.1 --port=$coverageContext.port")
steps.start("${coverageOpts.coverage41CPath} start -i DefAlias -u http://127.0.0.1:$coverageContext.port -P $workspaceDir -s $srcDir -o ${stage.getCoverageStashPath()}")
Expand Down Expand Up @@ -78,7 +78,7 @@ class CoverageUtils {

static String findDbgs(IStepExecutor steps, JobConfiguration config) {

def dbgsPath = config.coverageOptions.dbgsPath
String dbgsPath = config.coverageOptions.dbgsPath
if (dbgsPath.isEmpty()) {
def osResourcePath = steps.libraryResource "dbgs.os"
final osResultPath = "build/dbgs.os"
Expand Down

0 comments on commit 0884437

Please sign in to comment.