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 Plug-in

publishIssues: Publish issues created by a static analysis run

  • issues
      Array/List
      edu.hm.hafner.analysis.Report
  • 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
  • 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

  • pattern (optional)
    • Type: String
  • reportEncoding (optional)
    • Type: String
  • sourceCodeEncoding (optional)
    • Type: String
  • tool (optional)
      Nested Choice of Objects
    • $class: 'AcuCobol'
      • $class: 'Ajc'
        • $class: 'AndroidLint'
          • $class: 'AnsibleLint'
            • $class: 'ArmCc'
              • $class: 'Buckminster'
                • $class: 'Cadence'
                  • $class: 'Ccm'
                    • $class: 'CheckStyle'
                      • $class: 'Clang'
                        • $class: 'ClangTidy'
                          • $class: 'CodeAnalysis'
                            • $class: 'CodeNArc'
                              • $class: 'Coolflux'
                                • $class: 'Cpd'
                                  • highThreshold (optional)
                                    • Type: int
                                  • normalThreshold (optional)
                                    • Type: int
                                • $class: 'CppCheck'
                                  • $class: 'CppLint'
                                    • $class: 'CssLint'
                                      • $class: 'DiabC'
                                        • $class: 'DocFx'
                                          • $class: 'Doxygen'
                                            • $class: 'DrMemory'
                                              • $class: 'DupFinder'
                                                • highThreshold (optional)
                                                  • Type: int
                                                • normalThreshold (optional)
                                                  • Type: int
                                              • $class: 'Eclipse'
                                                • $class: 'Erlc'
                                                  • $class: 'ErrorProne'
                                                    • $class: 'FindBugs'
                                                      • useRankAsPriority (optional)
                                                        • Type: boolean
                                                    • $class: 'Flake8'
                                                      • $class: 'FlexSDK'
                                                        • $class: 'Fxcop'
                                                          • $class: 'Gcc3'
                                                            • $class: 'Gcc4'
                                                              • $class: 'Gendarme'
                                                                • $class: 'GhsMulti'
                                                                  • $class: 'Gnat'
                                                                    • $class: 'GnuFortran'
                                                                      • $class: 'GnuMakeGcc'
                                                                        • $class: 'GoLint'
                                                                          • $class: 'GoVet'
                                                                            • $class: 'GroovyScript'
                                                                              • id (optional)
                                                                                • Type: String
                                                                            • $class: 'Iar'
                                                                              • $class: 'IdeaInspection'
                                                                                • $class: 'Intel'
                                                                                  • $class: 'Invalids'
                                                                                    • $class: 'Java'
                                                                                      • $class: 'JavaDoc'
                                                                                        • $class: 'JcReport'
                                                                                          • $class: 'JsHint'
                                                                                            • $class: 'KlocWork'
                                                                                              • $class: 'LinuxKernelOutput'
                                                                                                • $class: 'MavenConsole'
                                                                                                  • $class: 'MetrowerksCodeWarrior'
                                                                                                    • $class: 'MsBuild'
                                                                                                      • $class: 'MyPy'
                                                                                                        • $class: 'NagFortran'
                                                                                                          • $class: 'PREfast'
                                                                                                            • $class: 'Pep8'
                                                                                                              • $class: 'Perforce'
                                                                                                                • $class: 'PerlCritic'
                                                                                                                  • $class: 'Php'
                                                                                                                    • $class: 'Pit'
                                                                                                                      • $class: 'Pmd'
                                                                                                                        • $class: 'PuppetLint'
                                                                                                                          • $class: 'PyDocStyle'
                                                                                                                            • $class: 'PyLint'
                                                                                                                              • $class: 'QACSourceCodeAnalyser'
                                                                                                                                • $class: 'RFLint'
                                                                                                                                  • $class: 'ResharperInspectCode'
                                                                                                                                    • $class: 'Robocopy'
                                                                                                                                      • $class: 'RuboCop'
                                                                                                                                        • $class: 'Scala'
                                                                                                                                          • $class: 'Simian'
                                                                                                                                            • highThreshold (optional)
                                                                                                                                              • Type: int
                                                                                                                                            • normalThreshold (optional)
                                                                                                                                              • Type: int
                                                                                                                                          • $class: 'SonarQube'
                                                                                                                                            • $class: 'SphinxBuild'
                                                                                                                                              • $class: 'SpotBugs'
                                                                                                                                                • useRankAsPriority (optional)
                                                                                                                                                  • Type: boolean
                                                                                                                                              • $class: 'StyleCop'
                                                                                                                                                • $class: 'SunC'
                                                                                                                                                  • $class: 'TaskingVx'
                                                                                                                                                    • $class: 'TiCss'
                                                                                                                                                      • $class: 'Tnsdl'
                                                                                                                                                        • $class: 'Xlc'
                                                                                                                                                          • $class: 'XmlLint'
                                                                                                                                                            • $class: 'YuiCompressor'
                                                                                                                                                              • $class: 'ZptLint'

                                                                                                                                                              recordIssues: Record static analysis results

                                                                                                                                                              • aggregatingResults (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
                                                                                                                                                              • ignoreAnalysisResult (optional)
                                                                                                                                                                • Type: boolean
                                                                                                                                                              • minimumSeverity (optional)
                                                                                                                                                                • Type: String
                                                                                                                                                              • overallResultMustBeSuccess (optional)
                                                                                                                                                                • Type: boolean
                                                                                                                                                              • referenceJobName (optional)
                                                                                                                                                                • Type: String
                                                                                                                                                              • reportEncoding (optional)
                                                                                                                                                                • Type: String
                                                                                                                                                              • sourceCodeEncoding (optional)
                                                                                                                                                                • Type: String
                                                                                                                                                              • tools (optional)
                                                                                                                                                                  Array/List
                                                                                                                                                                  Nested Object
                                                                                                                                                                • tool
                                                                                                                                                                    Nested Choice of Objects
                                                                                                                                                                  • $class: 'AcuCobol'
                                                                                                                                                                    • $class: 'Ajc'
                                                                                                                                                                      • $class: 'AndroidLint'
                                                                                                                                                                        • $class: 'AnsibleLint'
                                                                                                                                                                          • $class: 'ArmCc'
                                                                                                                                                                            • $class: 'Buckminster'
                                                                                                                                                                              • $class: 'Cadence'
                                                                                                                                                                                • $class: 'Ccm'
                                                                                                                                                                                  • $class: 'CheckStyle'
                                                                                                                                                                                    • $class: 'Clang'
                                                                                                                                                                                      • $class: 'ClangTidy'
                                                                                                                                                                                        • $class: 'CodeAnalysis'
                                                                                                                                                                                          • $class: 'CodeNArc'
                                                                                                                                                                                            • $class: 'Coolflux'
                                                                                                                                                                                              • $class: 'Cpd'
                                                                                                                                                                                                • highThreshold (optional)
                                                                                                                                                                                                  • Type: int
                                                                                                                                                                                                • normalThreshold (optional)
                                                                                                                                                                                                  • Type: int
                                                                                                                                                                                              • $class: 'CppCheck'
                                                                                                                                                                                                • $class: 'CppLint'
                                                                                                                                                                                                  • $class: 'CssLint'
                                                                                                                                                                                                    • $class: 'DiabC'
                                                                                                                                                                                                      • $class: 'DocFx'
                                                                                                                                                                                                        • $class: 'Doxygen'
                                                                                                                                                                                                          • $class: 'DrMemory'
                                                                                                                                                                                                            • $class: 'DupFinder'
                                                                                                                                                                                                              • highThreshold (optional)
                                                                                                                                                                                                                • Type: int
                                                                                                                                                                                                              • normalThreshold (optional)
                                                                                                                                                                                                                • Type: int
                                                                                                                                                                                                            • $class: 'Eclipse'
                                                                                                                                                                                                              • $class: 'Erlc'
                                                                                                                                                                                                                • $class: 'ErrorProne'
                                                                                                                                                                                                                  • $class: 'FindBugs'
                                                                                                                                                                                                                    • useRankAsPriority (optional)
                                                                                                                                                                                                                      • Type: boolean
                                                                                                                                                                                                                  • $class: 'Flake8'
                                                                                                                                                                                                                    • $class: 'FlexSDK'
                                                                                                                                                                                                                      • $class: 'Fxcop'
                                                                                                                                                                                                                        • $class: 'Gcc3'
                                                                                                                                                                                                                          • $class: 'Gcc4'
                                                                                                                                                                                                                            • $class: 'Gendarme'
                                                                                                                                                                                                                              • $class: 'GhsMulti'
                                                                                                                                                                                                                                • $class: 'Gnat'
                                                                                                                                                                                                                                  • $class: 'GnuFortran'
                                                                                                                                                                                                                                    • $class: 'GnuMakeGcc'
                                                                                                                                                                                                                                      • $class: 'GoLint'
                                                                                                                                                                                                                                        • $class: 'GoVet'
                                                                                                                                                                                                                                          • $class: 'GroovyScript'
                                                                                                                                                                                                                                            • id (optional)
                                                                                                                                                                                                                                              • Type: String
                                                                                                                                                                                                                                          • $class: 'Iar'
                                                                                                                                                                                                                                            • $class: 'IdeaInspection'
                                                                                                                                                                                                                                              • $class: 'Intel'
                                                                                                                                                                                                                                                • $class: 'Invalids'
                                                                                                                                                                                                                                                  • $class: 'Java'
                                                                                                                                                                                                                                                    • $class: 'JavaDoc'
                                                                                                                                                                                                                                                      • $class: 'JcReport'
                                                                                                                                                                                                                                                        • $class: 'JsHint'
                                                                                                                                                                                                                                                          • $class: 'KlocWork'
                                                                                                                                                                                                                                                            • $class: 'LinuxKernelOutput'
                                                                                                                                                                                                                                                              • $class: 'MavenConsole'
                                                                                                                                                                                                                                                                • $class: 'MetrowerksCodeWarrior'
                                                                                                                                                                                                                                                                  • $class: 'MsBuild'
                                                                                                                                                                                                                                                                    • $class: 'MyPy'
                                                                                                                                                                                                                                                                      • $class: 'NagFortran'
                                                                                                                                                                                                                                                                        • $class: 'PREfast'
                                                                                                                                                                                                                                                                          • $class: 'Pep8'
                                                                                                                                                                                                                                                                            • $class: 'Perforce'
                                                                                                                                                                                                                                                                              • $class: 'PerlCritic'
                                                                                                                                                                                                                                                                                • $class: 'Php'
                                                                                                                                                                                                                                                                                  • $class: 'Pit'
                                                                                                                                                                                                                                                                                    • $class: 'Pmd'
                                                                                                                                                                                                                                                                                      • $class: 'PuppetLint'
                                                                                                                                                                                                                                                                                        • $class: 'PyDocStyle'
                                                                                                                                                                                                                                                                                          • $class: 'PyLint'
                                                                                                                                                                                                                                                                                            • $class: 'QACSourceCodeAnalyser'
                                                                                                                                                                                                                                                                                              • $class: 'RFLint'
                                                                                                                                                                                                                                                                                                • $class: 'ResharperInspectCode'
                                                                                                                                                                                                                                                                                                  • $class: 'Robocopy'
                                                                                                                                                                                                                                                                                                    • $class: 'RuboCop'
                                                                                                                                                                                                                                                                                                      • $class: 'Scala'
                                                                                                                                                                                                                                                                                                        • $class: 'Simian'
                                                                                                                                                                                                                                                                                                          • highThreshold (optional)
                                                                                                                                                                                                                                                                                                            • Type: int
                                                                                                                                                                                                                                                                                                          • normalThreshold (optional)
                                                                                                                                                                                                                                                                                                            • Type: int
                                                                                                                                                                                                                                                                                                        • $class: 'SonarQube'
                                                                                                                                                                                                                                                                                                          • $class: 'SphinxBuild'
                                                                                                                                                                                                                                                                                                            • $class: 'SpotBugs'
                                                                                                                                                                                                                                                                                                              • useRankAsPriority (optional)
                                                                                                                                                                                                                                                                                                                • Type: boolean
                                                                                                                                                                                                                                                                                                            • $class: 'StyleCop'
                                                                                                                                                                                                                                                                                                              • $class: 'SunC'
                                                                                                                                                                                                                                                                                                                • $class: 'TaskingVx'
                                                                                                                                                                                                                                                                                                                  • $class: 'TiCss'
                                                                                                                                                                                                                                                                                                                    • $class: 'Tnsdl'
                                                                                                                                                                                                                                                                                                                      • $class: 'Xlc'
                                                                                                                                                                                                                                                                                                                        • $class: 'XmlLint'
                                                                                                                                                                                                                                                                                                                          • $class: 'YuiCompressor'
                                                                                                                                                                                                                                                                                                                            • $class: '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

                                                                                                                                                                                                                                                                                                                          warnings: [Deprecated] Scan for compiler warnings

                                                                                                                                                                                                                                                                                                                          • canComputeNew (optional)
                                                                                                                                                                                                                                                                                                                            • Type: boolean
                                                                                                                                                                                                                                                                                                                          • canResolveRelativePaths (optional)
                                                                                                                                                                                                                                                                                                                            • Type: boolean
                                                                                                                                                                                                                                                                                                                          • canRunOnFailed (optional)
                                                                                                                                                                                                                                                                                                                            • Type: boolean
                                                                                                                                                                                                                                                                                                                          • categoriesPattern (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • consoleParsers (optional)
                                                                                                                                                                                                                                                                                                                              Array/List
                                                                                                                                                                                                                                                                                                                              Nested Object
                                                                                                                                                                                                                                                                                                                            • parserName
                                                                                                                                                                                                                                                                                                                              • Type: String
                                                                                                                                                                                                                                                                                                                          • defaultEncoding (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • excludePattern (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • failedNewAll (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • failedNewHigh (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • failedNewLow (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • failedNewNormal (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • failedTotalAll (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • failedTotalHigh (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • failedTotalLow (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • failedTotalNormal (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • healthy (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • includePattern (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • messagesPattern (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • parserConfigurations (optional)
                                                                                                                                                                                                                                                                                                                              Array/List
                                                                                                                                                                                                                                                                                                                              Nested Object
                                                                                                                                                                                                                                                                                                                            • pattern
                                                                                                                                                                                                                                                                                                                              • Type: String
                                                                                                                                                                                                                                                                                                                            • parserName
                                                                                                                                                                                                                                                                                                                              • Type: String
                                                                                                                                                                                                                                                                                                                          • shouldDetectModules (optional)
                                                                                                                                                                                                                                                                                                                            • Type: boolean
                                                                                                                                                                                                                                                                                                                          • thresholdLimit (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unHealthy (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unstableNewAll (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unstableNewHigh (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unstableNewLow (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unstableNewNormal (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unstableTotalAll (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unstableTotalHigh (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unstableTotalLow (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • unstableTotalNormal (optional)
                                                                                                                                                                                                                                                                                                                            • Type: String
                                                                                                                                                                                                                                                                                                                          • useDeltaValues (optional)
                                                                                                                                                                                                                                                                                                                            • Type: boolean
                                                                                                                                                                                                                                                                                                                          • usePreviousBuildAsReference (optional)
                                                                                                                                                                                                                                                                                                                            • Type: boolean
                                                                                                                                                                                                                                                                                                                          • useStableBuildAsReference (optional)
                                                                                                                                                                                                                                                                                                                            • Type: boolean

                                                                                                                                                                                                                                                                                                                          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.