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.

Warnings Next Generation Plugin

publishIssues: Publish issues created by a static analysis run

  • issues
      Array/List
      io.jenkins.plugins.analysis.core.steps.AnnotatedReport
  • failedNewAll (optional)
    • Type: int
  • failedNewHigh (optional)
    • Type: int
  • failedNewLow (optional)
    • Type: int
  • failedNewNormal (optional)
    • Type: int
  • failedTotalAll (optional)
    • Type: int
  • failedTotalHigh (optional)
    • Type: int
  • failedTotalLow (optional)
    • Type: int
  • failedTotalNormal (optional)
    • Type: int
  • healthy (optional)
    • Type: int
  • id (optional)
    • Type: String
  • ignoreFailedBuilds (optional)
    • Type: boolean
  • ignoreQualityGate (optional)
    • Type: boolean
  • minimumSeverity (optional)
    • Type: String
  • name (optional)
    • Type: String
  • referenceJobName (optional)
    • Type: String
  • sourceCodeEncoding (optional)
    • Type: String
  • unhealthy (optional)
    • Type: int
  • unstableNewAll (optional)
    • Type: int
  • unstableNewHigh (optional)
    • Type: int
  • unstableNewLow (optional)
    • Type: int
  • unstableNewNormal (optional)
    • Type: int
  • unstableTotalAll (optional)
    • Type: int
  • unstableTotalHigh (optional)
    • Type: int
  • unstableTotalLow (optional)
    • Type: int
  • unstableTotalNormal (optional)
    • Type: int

scanForIssues: Scan files or the console log for warnings or issues

  • blameDisabled (optional)
    • Type: boolean
  • filters (optional)
      Array/List
      Nested Choice of Objects
    • excludeCategory
      • pattern
        • Type: String
    • excludeFile
      • pattern
        • Type: String
    • excludeModule
      • pattern
        • Type: String
    • excludePackage
      • pattern
        • Type: String
    • excludeType
      • pattern
        • Type: String
    • includeCategory
      • pattern
        • Type: String
    • includeFile
      • pattern
        • Type: String
    • includeModule
      • pattern
        • Type: String
    • includePackage
      • pattern
        • Type: String
    • includeType
      • pattern
        • Type: String
  • pattern (optional)
    • Type: String
  • reportEncoding (optional)
    • Type: String
  • sourceCodeEncoding (optional)
    • Type: String
  • tool (optional)
      Nested Choice of Objects
    • acuCobol
      • ajc
        • androidLint
          • ansibleLint
            • armCc
              • buckminster
                • cadence
                  • ccm
                    • checkStyle
                      • clang
                        • clangTidy
                          • codeAnalysis
                            • codeNarc
                              • coolflux
                                • cpd
                                  • highThreshold (optional)
                                    • Type: int
                                  • normalThreshold (optional)
                                    • Type: int
                                • cppCheck
                                  • cppLint
                                    • cssLint
                                      • detekt
                                        • diabC
                                          • docFx
                                            • doxygen
                                              • drMemory
                                                • dupFinder
                                                  • highThreshold (optional)
                                                    • Type: int
                                                  • normalThreshold (optional)
                                                    • Type: int
                                                • eclipse
                                                  • erlc
                                                    • errorProne
                                                      • esLint
                                                        • findBugs
                                                          • useRankAsPriority (optional)
                                                            • Type: boolean
                                                        • flake8
                                                          • flexSdk
                                                            • fxcop
                                                              • gcc3
                                                                • gcc4
                                                                  • gendarme
                                                                    • ghsMulti
                                                                      • gnat
                                                                        • gnuFortran
                                                                          • gnuMakeGcc
                                                                            • goLint
                                                                              • goVet
                                                                                • groovyScript
                                                                                  • id (optional)
                                                                                    • Type: String
                                                                                • iar
                                                                                  • ideaInspection
                                                                                    • infer
                                                                                      • intel
                                                                                        • invalids
                                                                                          • java
                                                                                            • javaDoc
                                                                                              • jcReport
                                                                                                • jsHint
                                                                                                  • jsLint
                                                                                                    • klocWork
                                                                                                      • ktLint
                                                                                                        • linuxKernelOutput
                                                                                                          • mavenConsole
                                                                                                            • metrowerksCodeWarrior
                                                                                                              • msBuild
                                                                                                                • myPy
                                                                                                                  • nagFortran
                                                                                                                    • pcLint
                                                                                                                      • pep8
                                                                                                                        • perforce
                                                                                                                          • perlCritic
                                                                                                                            • php
                                                                                                                              • phpCodeSniffer
                                                                                                                                • pit
                                                                                                                                  • pmd
                                                                                                                                    • prefast
                                                                                                                                      • puppetLint
                                                                                                                                        • pyDocStyle
                                                                                                                                          • pyLint
                                                                                                                                            • qacSourceCodeAnalyser
                                                                                                                                              • resharperInspectCode
                                                                                                                                                • rfLint
                                                                                                                                                  • robocopy
                                                                                                                                                    • ruboCop
                                                                                                                                                      • scala
                                                                                                                                                        • simian
                                                                                                                                                          • highThreshold (optional)
                                                                                                                                                            • Type: int
                                                                                                                                                          • normalThreshold (optional)
                                                                                                                                                            • Type: int
                                                                                                                                                        • sonarQube
                                                                                                                                                          • sphinxBuild
                                                                                                                                                            • spotBugs
                                                                                                                                                              • useRankAsPriority (optional)
                                                                                                                                                                • Type: boolean
                                                                                                                                                            • styleCop
                                                                                                                                                              • sunC
                                                                                                                                                                • swiftLint
                                                                                                                                                                  • tagList
                                                                                                                                                                    • taskingVx
                                                                                                                                                                      • tiCss
                                                                                                                                                                        • tnsdl
                                                                                                                                                                          • tsLint
                                                                                                                                                                            • xlc
                                                                                                                                                                              • xmlLint
                                                                                                                                                                                • yamlLint
                                                                                                                                                                                  • yuiCompressor
                                                                                                                                                                                    • zptLint

                                                                                                                                                                                    recordIssues: Record compiler warnings and static analysis results

                                                                                                                                                                                    • aggregatingResults (optional)
                                                                                                                                                                                      • Type: boolean
                                                                                                                                                                                    • blameDisabled (optional)
                                                                                                                                                                                      • Type: boolean
                                                                                                                                                                                    • enabledForFailure (optional)
                                                                                                                                                                                      • Type: boolean
                                                                                                                                                                                    • failedNewAll (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • failedNewHigh (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • failedNewLow (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • failedNewNormal (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • failedTotalAll (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • failedTotalHigh (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • failedTotalLow (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • failedTotalNormal (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • filters (optional)
                                                                                                                                                                                        Array/List
                                                                                                                                                                                        Nested Choice of Objects
                                                                                                                                                                                      • excludeCategory
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • excludeFile
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • excludeModule
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • excludePackage
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • excludeType
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • includeCategory
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • includeFile
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • includeModule
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • includePackage
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                      • includeType
                                                                                                                                                                                        • pattern
                                                                                                                                                                                          • Type: String
                                                                                                                                                                                    • healthy (optional)
                                                                                                                                                                                      • Type: int
                                                                                                                                                                                    • id (optional)
                                                                                                                                                                                      • Type: String
                                                                                                                                                                                    • ignoreFailedBuilds (optional)
                                                                                                                                                                                      • Type: boolean
                                                                                                                                                                                    • ignoreQualityGate (optional)
                                                                                                                                                                                      • Type: boolean
                                                                                                                                                                                    • minimumSeverity (optional)
                                                                                                                                                                                      • Type: String
                                                                                                                                                                                    • name (optional)
                                                                                                                                                                                      • Type: String
                                                                                                                                                                                    • referenceJobName (optional)
                                                                                                                                                                                      • Type: String
                                                                                                                                                                                    • reportEncoding (optional)
                                                                                                                                                                                      • Type: String
                                                                                                                                                                                    • sourceCodeEncoding (optional)
                                                                                                                                                                                      • Type: String
                                                                                                                                                                                    • tools (optional)
                                                                                                                                                                                        Array/List
                                                                                                                                                                                        Nested Object
                                                                                                                                                                                      • tool
                                                                                                                                                                                          Nested Choice of Objects
                                                                                                                                                                                        • acuCobol
                                                                                                                                                                                          • ajc
                                                                                                                                                                                            • androidLint
                                                                                                                                                                                              • ansibleLint
                                                                                                                                                                                                • armCc
                                                                                                                                                                                                  • buckminster
                                                                                                                                                                                                    • cadence
                                                                                                                                                                                                      • ccm
                                                                                                                                                                                                        • checkStyle
                                                                                                                                                                                                          • clang
                                                                                                                                                                                                            • clangTidy
                                                                                                                                                                                                              • codeAnalysis
                                                                                                                                                                                                                • codeNarc
                                                                                                                                                                                                                  • coolflux
                                                                                                                                                                                                                    • cpd
                                                                                                                                                                                                                      • highThreshold (optional)
                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                      • normalThreshold (optional)
                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                    • cppCheck
                                                                                                                                                                                                                      • cppLint
                                                                                                                                                                                                                        • cssLint
                                                                                                                                                                                                                          • detekt
                                                                                                                                                                                                                            • diabC
                                                                                                                                                                                                                              • docFx
                                                                                                                                                                                                                                • doxygen
                                                                                                                                                                                                                                  • drMemory
                                                                                                                                                                                                                                    • dupFinder
                                                                                                                                                                                                                                      • highThreshold (optional)
                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                      • normalThreshold (optional)
                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                    • eclipse
                                                                                                                                                                                                                                      • erlc
                                                                                                                                                                                                                                        • errorProne
                                                                                                                                                                                                                                          • esLint
                                                                                                                                                                                                                                            • findBugs
                                                                                                                                                                                                                                              • useRankAsPriority (optional)
                                                                                                                                                                                                                                                • Type: boolean
                                                                                                                                                                                                                                            • flake8
                                                                                                                                                                                                                                              • flexSdk
                                                                                                                                                                                                                                                • fxcop
                                                                                                                                                                                                                                                  • gcc3
                                                                                                                                                                                                                                                    • gcc4
                                                                                                                                                                                                                                                      • gendarme
                                                                                                                                                                                                                                                        • ghsMulti
                                                                                                                                                                                                                                                          • gnat
                                                                                                                                                                                                                                                            • gnuFortran
                                                                                                                                                                                                                                                              • gnuMakeGcc
                                                                                                                                                                                                                                                                • goLint
                                                                                                                                                                                                                                                                  • goVet
                                                                                                                                                                                                                                                                    • groovyScript
                                                                                                                                                                                                                                                                      • id (optional)
                                                                                                                                                                                                                                                                        • Type: String
                                                                                                                                                                                                                                                                    • iar
                                                                                                                                                                                                                                                                      • ideaInspection
                                                                                                                                                                                                                                                                        • infer
                                                                                                                                                                                                                                                                          • intel
                                                                                                                                                                                                                                                                            • invalids
                                                                                                                                                                                                                                                                              • java
                                                                                                                                                                                                                                                                                • javaDoc
                                                                                                                                                                                                                                                                                  • jcReport
                                                                                                                                                                                                                                                                                    • jsHint
                                                                                                                                                                                                                                                                                      • jsLint
                                                                                                                                                                                                                                                                                        • klocWork
                                                                                                                                                                                                                                                                                          • ktLint
                                                                                                                                                                                                                                                                                            • linuxKernelOutput
                                                                                                                                                                                                                                                                                              • mavenConsole
                                                                                                                                                                                                                                                                                                • metrowerksCodeWarrior
                                                                                                                                                                                                                                                                                                  • msBuild
                                                                                                                                                                                                                                                                                                    • myPy
                                                                                                                                                                                                                                                                                                      • nagFortran
                                                                                                                                                                                                                                                                                                        • pcLint
                                                                                                                                                                                                                                                                                                          • pep8
                                                                                                                                                                                                                                                                                                            • perforce
                                                                                                                                                                                                                                                                                                              • perlCritic
                                                                                                                                                                                                                                                                                                                • php
                                                                                                                                                                                                                                                                                                                  • phpCodeSniffer
                                                                                                                                                                                                                                                                                                                    • pit
                                                                                                                                                                                                                                                                                                                      • pmd
                                                                                                                                                                                                                                                                                                                        • prefast
                                                                                                                                                                                                                                                                                                                          • puppetLint
                                                                                                                                                                                                                                                                                                                            • pyDocStyle
                                                                                                                                                                                                                                                                                                                              • pyLint
                                                                                                                                                                                                                                                                                                                                • qacSourceCodeAnalyser
                                                                                                                                                                                                                                                                                                                                  • resharperInspectCode
                                                                                                                                                                                                                                                                                                                                    • rfLint
                                                                                                                                                                                                                                                                                                                                      • robocopy
                                                                                                                                                                                                                                                                                                                                        • ruboCop
                                                                                                                                                                                                                                                                                                                                          • scala
                                                                                                                                                                                                                                                                                                                                            • simian
                                                                                                                                                                                                                                                                                                                                              • highThreshold (optional)
                                                                                                                                                                                                                                                                                                                                                • Type: int
                                                                                                                                                                                                                                                                                                                                              • normalThreshold (optional)
                                                                                                                                                                                                                                                                                                                                                • Type: int
                                                                                                                                                                                                                                                                                                                                            • sonarQube
                                                                                                                                                                                                                                                                                                                                              • sphinxBuild
                                                                                                                                                                                                                                                                                                                                                • spotBugs
                                                                                                                                                                                                                                                                                                                                                  • useRankAsPriority (optional)
                                                                                                                                                                                                                                                                                                                                                    • Type: boolean
                                                                                                                                                                                                                                                                                                                                                • styleCop
                                                                                                                                                                                                                                                                                                                                                  • sunC
                                                                                                                                                                                                                                                                                                                                                    • swiftLint
                                                                                                                                                                                                                                                                                                                                                      • tagList
                                                                                                                                                                                                                                                                                                                                                        • taskingVx
                                                                                                                                                                                                                                                                                                                                                          • tiCss
                                                                                                                                                                                                                                                                                                                                                            • tnsdl
                                                                                                                                                                                                                                                                                                                                                              • tsLint
                                                                                                                                                                                                                                                                                                                                                                • xlc
                                                                                                                                                                                                                                                                                                                                                                  • xmlLint
                                                                                                                                                                                                                                                                                                                                                                    • yamlLint
                                                                                                                                                                                                                                                                                                                                                                      • yuiCompressor
                                                                                                                                                                                                                                                                                                                                                                        • zptLint
                                                                                                                                                                                                                                                                                                                                                                        • pattern
                                                                                                                                                                                                                                                                                                                                                                          • Type: String
                                                                                                                                                                                                                                                                                                                                                                        • id (optional)
                                                                                                                                                                                                                                                                                                                                                                          • Type: String
                                                                                                                                                                                                                                                                                                                                                                        • name (optional)
                                                                                                                                                                                                                                                                                                                                                                          • Type: String
                                                                                                                                                                                                                                                                                                                                                                      • unhealthy (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                                                                                                                                                      • unstableNewAll (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                                                                                                                                                      • unstableNewHigh (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                                                                                                                                                      • unstableNewLow (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                                                                                                                                                      • unstableNewNormal (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                                                                                                                                                      • unstableTotalAll (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                                                                                                                                                      • unstableTotalHigh (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                                                                                                                                                      • unstableTotalLow (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int
                                                                                                                                                                                                                                                                                                                                                                      • unstableTotalNormal (optional)
                                                                                                                                                                                                                                                                                                                                                                        • Type: int

                                                                                                                                                                                                                                                                                                                                                                      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.