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

Unable to set referenceJobName via project configuration page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • warnings-ng-plugin
    • None
    • Jenkins 2.263.4, warnings-ng-plugin 8.9.1

      We noticed that SpotBugs started using wrong reference builds. After further investigation we found out that the referenceJobName input field was missing on the project configuration page thus deleting the setting when the configuration is saved.

      The only workaround for now is to manually edit the project config.xml and adding the following line:

      <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng@8.9.1">
      ...
      ...
      <referenceJobName>ReferenceJobName</referenceJobName>
      ...
      ...
      </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>

       

            drulli Ulli Hafner
            jernejf Jernej
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: