You've already forked jenkins-lib
forked from jenkins/jenkins-lib
Merge pull request #30 from otymko/feat/28-syntax-check-exception-file
This commit is contained in:
@@ -51,6 +51,10 @@ def call(JobConfiguration config) {
|
||||
command += " --mode $checkModes"
|
||||
}
|
||||
|
||||
if (!options.exceptionFile.empty && fileExists(options.exceptionFile)) {
|
||||
command += " --exception-file $options.exceptionFile"
|
||||
}
|
||||
|
||||
// Запуск синтакс-проверки
|
||||
cmd(command, true)
|
||||
|
||||
|
Reference in New Issue
Block a user