The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
ViolationsToGitLab
: Report Violations to GitLabSee Violation Comments to GitLab Plugin for details on how to configure and use this plugin.
Pattern is a regular expression for matching report files. For example .*/findbugs/.*\.xml$ matches xml-files, in a folder named findbugs, anywhere in workspace.
config
gitLabUrl : String
gitLabUrl : String
projectId : String
projectId : String
mergeRequestIid : String
mergeRequestIid : String
apiTokenCredentialsId : String
apiTokenCredentialsId : String
apiTokenPrivate : boolean
apiTokenPrivate : boolean
(optional)
authMethodHeader : boolean
authMethodHeader : boolean
(optional)
commentOnlyChangedContent : boolean
commentOnlyChangedContent : boolean
(optional)
commentOnlyChangedContentContext : int
commentOnlyChangedContentContext : int
(optional)
commentOnlyChangedFiles : boolean
commentOnlyChangedFiles : boolean
(optional)
commentTemplate : String
commentTemplate : String
(optional)
createCommentWithAllSingleFileComments : boolean
createCommentWithAllSingleFileComments : boolean
(optional)
createSingleFileComments : boolean
createSingleFileComments : boolean
(optional)
enableLogging : boolean
enableLogging : boolean
(optional)
ignoreCertificateErrors : boolean
ignoreCertificateErrors : boolean
(optional)
keepOldComments : boolean
keepOldComments : boolean
(optional)
maxNumberOfViolations : int
maxNumberOfViolations : int
(optional)
minSeverity
minSeverity
(optional)
INFO
, WARN
, ERROR
proxyCredentialsId : String
proxyCredentialsId : String
(optional)
proxyUri : String
proxyUri : String
(optional)
shouldSetWip : boolean
shouldSetWip : boolean
(optional)
violationConfigs
violationConfigs
(optional)
parser
parser
ANDROIDLINT
, ANSIBLELATER
, CHECKSTYLE
, CODENARC
, CLANG
, COVERITY
, CPD
, CPPCHECK
, CPPLINT
, CSSLINT
, GENERIC
, GHS
, FINDBUGS
, FLAKE8
, MACHINE
, FXCOP
, GENDARME
, IAR
, JACOCO
, JCREPORT
, JSLINT
, JUNIT
, LINT
, KLOCWORK
, KOTLINMAVEN
, KOTLINGRADLE
, MSCPP
, MSBULDLOG
, MYPY
, GOLINT
, GOOGLEERRORPRONE
, PERLCRITIC
, PITEST
, PMD
, PROTOLINT
, PYDOCSTYLE
, PYLINT
, RESHARPER
, SARIF
, SBTSCALAC
, SEMGREP
, SIMIAN
, SONAR
, STYLECOP
, XMLLINT
, YAMLLINT
, ZPTLINT
, DOCFX
, PCLINT
, CODECLIMATE
, XUNIT
, VALGRIND
pattern : String
pattern : String
reporter : String
reporter : String
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.