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

Configurable analyzers for Jenkins Pipeline (per-job Global Overrides)

XMLWordPrintable

      Currently we are missing Jenkins Pipeline options to enable or disable the specific analyzers, something like:

      jarAnalyzerEnabled: true
      nodeJsAnalyzerEnabled: true
      nspAnalyzerEnabled: true
      composerLockAnalyzerEnabled: true
      pythonDistributionAnalyzerEnabled: true
      pythonPackageAnalyzerEnabled: true
      rubyBundlerAuditAnalyzerEnabled: true
      rubyGemAnalyzerEnabled: true
      cocoaPodsAnalyzerEnabled: true
      swiftPackageManagerAnalyzerEnabled: true
      archiveAnalyzerEnabled: true
      assemblyAnalyzerEnabled: true
      centralAnalyzerEnabled: true
      nuspecAnalyzerEnabled: true
      nexusAnalyzerEnabled :false
      autoconfAnalyzerEnabled: true
      cmakeAnalyzerEnabled: true
      opensslAnalyzerEnabled: true

      The plugin always inherits the global configuration (defaults to everything enabled).

      Why do we need this?

      1. This is an issue for Jenkins instances that are managed with Ansible/Puppet, because it's not easy to change the global configuration. Also see JENKINS-46746
      2. When running many projects on the same instance; different projects might need different analytic scopes.

            Unassigned Unassigned
            code_bunny H. Izaak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: