无法使用Job-DSL生成违规(发布后操作)

时间:2016-07-31 18:29:31

标签: jenkins jenkins-job-dsl

我正在尝试将非Jenkins DSL转换为DSL。此处的问题是违规部分缺失。

job('example') {
        publishers {
            violations(50) {
               sourcePathPattern('source pattern')
               fauxProjectPath('faux path')
               perFileDisplayLimit(51)
               checkstyle(10, 11, 10, 'test-report/*.xml')
               findbugs(12, 13, 12)
               jshint(10, 11, 10, 'test-report/*.xml')
            }
        }
    }

0 个答案:

没有答案
相关问题