From c352bb2228073ec2c8f1c7214b96e199fd5c2077 Mon Sep 17 00:00:00 2001 From: Nikita Gryzlov Date: Thu, 2 Dec 2021 11:42:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BF=D0=B5=D1=80=D0=B5=D0=B4=D0=B0=D1=87?= =?UTF-8?q?=D0=B0=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0=20=D1=81=20=D0=B8=D1=81?= =?UTF-8?q?=D0=BA=D0=BB=D1=8E=D1=87=D0=B5=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --modes должен быть последним параметром вызова --- vars/syntaxCheck.groovy | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vars/syntaxCheck.groovy b/vars/syntaxCheck.groovy index 636b837..b879fdb 100644 --- a/vars/syntaxCheck.groovy +++ b/vars/syntaxCheck.groovy @@ -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)