Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50955

add ability to set "doNotScan" for the BFA plugin with Declarative Pipeline

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      build-failure-analyzer:1.19.2 'Build Failure Analyzer'
      pipeline-model-definition:1.2.9 'Pipeline: Declarative'
      CloudBees Jenkins Enterprise 2.107.2.1-rolling
    • Similar Issues:

      Description

      I'm able to disable the build failure analyzer plugin for my scripted Pipeline by using:

         properties([[$class: 'ScannerJobProperty', doNotScan: true]])

      as per: https://github.com/rkivisto/buildFailureAnalyzer/blob/master/Jenkinsfile

       

      For declarative Pipeline:

      https://github.com/rkivisto/buildFailureAnalyzer/blob/declarative/Jenkinsfile

      the BFA plugin is working well, but when I searched the documentation for the BFA plugin, and also when I check the Declarative Directive Generator (https://jenkins.io/blog/2018/04/09/whats-in-declarative/#declarative-directive-generator) under the "Options" directive, I do not see any options related to disabling the BFA plugin for declarative pipeline.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              t_westling Tomas Westling
              Reporter:
              rkivisto Ray Kivisto
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: