recordIssues step ignores sourceCodeRetention parameter

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: warnings-ng-plugin
    • None
    • Environment:
      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()).

            Assignee:
            HelloWorld
            Reporter:
            Kalle Niemitalo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: