You've already forked jenkins-lib
forked from jenkins/jenkins-lib
Update src/ru/pulsar/jenkins/library/utils/VRunner.groovy
This commit is contained in:
@@ -11,7 +11,7 @@ class VRunner {
|
|||||||
|
|
||||||
IStepExecutor steps = ContextRegistry.getContext().getStepExecutor()
|
IStepExecutor steps = ContextRegistry.getContext().getStepExecutor()
|
||||||
|
|
||||||
String vrunnerBinary = steps.isUnix() ? "vrunner" : "vrunner.bat"
|
String vrunnerBinary = steps.isUnix() ? "xvfb-run -al vrunner" : "vrunner.bat"
|
||||||
String vrunnerPath = "oscript_modules/bin/$vrunnerBinary"
|
String vrunnerPath = "oscript_modules/bin/$vrunnerBinary"
|
||||||
if (!steps.fileExists(vrunnerPath)) {
|
if (!steps.fileExists(vrunnerPath)) {
|
||||||
vrunnerPath = vrunnerBinary
|
vrunnerPath = vrunnerBinary
|
||||||
|
Reference in New Issue
Block a user