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

Unexpected "Do not set id, name, or icon for both the tool and the recorder" message when aggregatingResults: true

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • warnings-ng-plugin
    • None
    • Warnings Plugin Version 12.3.0

      Jenkinsfile runs the recordIssues step like this:

      stage('Analyze logs') {
          steps {
              recordIssues(
                  aggregatingResults: true,
                  tools: [
                      docFx(pattern: 'doc/obj/docfx.log.json', reportEncoding: 'UTF-8'),
                      msBuild(pattern: 'msbuild.log', reportEncoding: 'UTF-8')],
                  qualityGates: [
                      [threshold: 1, type: 'TOTAL_NORMAL', unstable: true],
                      [threshold: 1, type: 'TOTAL_HIGH', unstable: false]],
                  sourceCodeEncoding: 'UTF-8',
                  publishAllIssues: true)
          }
      }

      The Jenkins console log of the build then shows:

      [analysis] Do not set id, name, or icon for both the tool and the recorder

      but the Jenkinsfile did not set any id, name, nor icon in this step, so the message should not have been logged.

            drulli Ulli Hafner
            kon Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: