mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2025-02-08 14:29:15 +02:00
Исправлена передача файла с исключениями.
--modes должен быть последним параметром вызова
This commit is contained in:
parent
7499c3ab4a
commit
c352bb2228
@ -46,15 +46,15 @@ def call(JobConfiguration config) {
|
||||
command += " --settings $vrunnerSettings";
|
||||
}
|
||||
|
||||
if (!options.exceptionFile.empty && fileExists(options.exceptionFile)) {
|
||||
command += " --exception-file $options.exceptionFile"
|
||||
}
|
||||
|
||||
if (options.checkModes.length > 0) {
|
||||
def checkModes = options.checkModes.join(" ")
|
||||
command += " --mode $checkModes"
|
||||
}
|
||||
|
||||
if (!options.exceptionFile.empty && fileExists(options.exceptionFile)) {
|
||||
command += " --exception-file $options.exceptionFile"
|
||||
}
|
||||
|
||||
// Запуск синтакс-проверки
|
||||
VRunner.exec(command, true)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user