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

pipeline.log artifact is downloaded as log.txt

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • blueocean-plugin
    • None

      Problem

      In the artifacts tab of an execution, the pipeline.log appears. When you select to download, it is downloaded as log.txt.

      1. There is a discrepancy in the appearing filename "pipeline.log" and to the actual downloaded file "log.txt".
      2. Downloading the log as .txt is not helpful, as it is not recognized as a .log by various popular file editors and log readers.

       

      Recommendation

      The implementation here could be improved as follows:

      1. Download the file with a name relevant to the pipeline execution, e.g. PIPELINENAME-BRANCHNAME-EXECUTIONNUMBER
      2. Download the file as a .log instead of .txt.

       

            Unassigned Unassigned
            kbratanis Kostas Bratanis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: