1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2025-08-25 20:09:25 +02:00

fix paths

This commit is contained in:
Dima
2023-06-03 11:52:35 +03:00
parent ca8c100934
commit 1f6c27fd2f
2 changed files with 4 additions and 2 deletions

View File

@@ -1,8 +1,10 @@
package ru.pulsar.jenkins.library.steps
import hudson.FilePath
import ru.pulsar.jenkins.library.IStepExecutor
import ru.pulsar.jenkins.library.configuration.JobConfiguration
import ru.pulsar.jenkins.library.ioc.ContextRegistry
import ru.pulsar.jenkins.library.utils.FileUtils
import ru.pulsar.jenkins.library.utils.Logger
import ru.pulsar.jenkins.library.utils.VRunner
@@ -26,7 +28,7 @@ class Bdd implements Serializable {
def env = steps.env();
def srcDir = config.srcDir
def projectDir = new File("$env.WORKSPACE").getCanonicalPath()
FilePath projectDir = FileUtils.getFilePath("$env.WORKSPACE/$srcDir")
List<String> logosConfig = ["LOGOS_CONFIG=$config.logosConfig"]
steps.withEnv(logosConfig) {

View File

@@ -38,7 +38,7 @@ class SmokeTest implements Serializable {
def env = steps.env()
def srcDir = config.srcDir
def projectDir = new File("$env.WORKSPACE").getCanonicalPath()
FilePath projectDir = FileUtils.getFilePath("$env.WORKSPACE/$srcDir")
String vrunnerPath = VRunner.getVRunnerPath()
String command = "$vrunnerPath xunit --ibconnection \"/F./build/ib\""