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

recordIssues step ignores sourceCodeRetention parameter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • warnings-ng-plugin
    • None
    • Jenkins 2.440.3
      warnings-ng 11.3.0

      The recordIssues step accepts the sourceCodeRetention: 'NEVER' argument but retains the source code anyway; the console log shows "Copying affected files to Jenkins' build folder".

      AFAICT, the bug is that RecordIssuesStep.Execution.run() does not call recorder.setSourceCodeRetention(step.getSourceCodeRetention()).

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

              Created:
              Updated: