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.

Violation Comments to GitLab Plugin

ViolationsToGitLab: Report Violations to GitLab

See 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
      Nested Object
    • gitLabUrl
      • Type: String
    • projectId
      • Type: String
    • mergeRequestIid
      • Type: String
    • apiTokenCredentialsId
      • Type: String
    • apiTokenPrivate (optional)
      • Type: boolean
    • authMethodHeader (optional)
      • Type: boolean
    • commentOnlyChangedContent (optional)
      • Type: boolean
    • commentOnlyChangedContentContext (optional)
      • Type: int
    • commentOnlyChangedFiles (optional)
      • Type: boolean
    • commentTemplate (optional)
      • Type: String
    • createCommentWithAllSingleFileComments (optional)
      • Type: boolean
    • createSingleFileComments (optional)
      • Type: boolean
    • enableLogging (optional)
      • Type: boolean
    • ignoreCertificateErrors (optional)
      • Type: boolean
    • keepOldComments (optional)
      • Type: boolean
    • maxNumberOfViolations (optional)
      • Type: int
    • minSeverity (optional)
      • Values: INFO, WARN, ERROR
    • proxyCredentialsId (optional)
      • Type: String
    • proxyUri (optional)
      • Type: String
    • shouldSetWip (optional)
      • Type: boolean
    • violationConfigs (optional)
        Array / List of Nested Object
      • parser
        • Values: ANDROIDLINT, CHECKSTYLE, CODENARC, CLANG, 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, SIMIAN, SONAR, STYLECOP, XMLLINT, YAMLLINT, ZPTLINT, DOCFX, PCLINT, CODECLIMATE, XUNIT, VALGRIND
      • pattern
        • Type: String
      • reporter
        • Type: String

Was this page helpful?

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.