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
gitLabUrl
String
projectId
projectId
String
mergeRequestIid
mergeRequestIid
String
apiTokenCredentialsId
apiTokenCredentialsId
String
apiTokenPrivate
apiTokenPrivate
(optional)
boolean
authMethodHeader
authMethodHeader
(optional)
boolean
commentOnlyChangedContent
commentOnlyChangedContent
(optional)
boolean
commentOnlyChangedContentContext
commentOnlyChangedContentContext
(optional)
int
commentOnlyChangedFiles
commentOnlyChangedFiles
(optional)
boolean
commentTemplate
commentTemplate
(optional)
String
createCommentWithAllSingleFileComments
createCommentWithAllSingleFileComments
(optional)
boolean
createSingleFileComments
createSingleFileComments
(optional)
boolean
enableLogging
enableLogging
(optional)
boolean
ignoreCertificateErrors
ignoreCertificateErrors
(optional)
boolean
keepOldComments
keepOldComments
(optional)
boolean
maxNumberOfViolations
maxNumberOfViolations
(optional)
int
minSeverity
minSeverity
(optional)
INFO
, WARN
, ERROR
proxyCredentialsId
proxyCredentialsId
(optional)
String
proxyUri
proxyUri
(optional)
String
shouldSetWip
shouldSetWip
(optional)
boolean
violationConfigs
violationConfigs
(optional)
parser
parser
ANDROIDLINT
, CHECKSTYLE
, CODENARC
, CLANG
, CPD
, CPPCHECK
, CPPLINT
, CSSLINT
, GENERIC
, FINDBUGS
, FLAKE8
, FXCOP
, GENDARME
, IAR
, JACOCO
, JCREPORT
, JSLINT
, JUNIT
, LINT
, KLOCWORK
, KOTLINMAVEN
, KOTLINGRADLE
, MSCPP
, MSBULDLOG
, MYPY
, GOLINT
, GOOGLEERRORPRONE
, PERLCRITIC
, PITEST
, PMD
, PROTOLINT
, PYDOCSTYLE
, PYLINT
, RESHARPER
, SBTSCALAC
, SIMIAN
, SONAR
, STYLECOP
, XMLLINT
, YAMLLINT
, ZPTLINT
, DOCFX
, PCLINT
, CODECLIMATE
, XUNIT
pattern
pattern
String
reporter
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.