• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • timestamper-plugin
    • None
    • Jenkins: 2.60.2
      "Pipeline: Job" 2.12.1

    • 1.8.10

      The pipeline plugin allows me to see the console output for individual steps, e.g:

      http://myjenkins/jenkins/job/myjob/505/execution/node/161/log/?consoleFull

      This page shows a link "View as plain text", which works on the global per-job console log, but in the per-step log viewer I get this 404 error message if I follow that link:

      http://myjenkins/jenkins/job/myjob/505/execution/node/161/log/consoleText

      404 The requested resource is not available.

          [JENKINS-47051] Per step "View as plain text" not working

          Andrew Bayer added a comment -

          I believe this is an inconsistency caused by reuse of Jenkins' traditional log display tooling. There's no plain text option actually available for Pipeline nodes like there is for builds, so ideally we wouldn't present that link at all. I'll see if I can get rid of the link.

          Andrew Bayer added a comment - I believe this is an inconsistency caused by reuse of Jenkins' traditional log display tooling. There's no plain text option actually available for Pipeline nodes like there is for builds, so ideally we wouldn't present that link at all. I'll see if I can get rid of the link.

          Andrew Bayer added a comment -

          No, I tell a lie - the plain text option only shows up for me when I've got the Timestamper plugin installed, which should do some checking of the underlying object to see if it can actually get plaintext before providing the link. Moving to the Timestamper component.

          Andrew Bayer added a comment - No, I tell a lie - the plain text option only shows up for me when I've got the Timestamper plugin installed, which should do some checking of the underlying object to see if it can actually get plaintext before providing the link. Moving to the Timestamper component.

          Code changed in jenkins
          User: Steven Brown
          Path:
          src/main/java/hudson/plugins/timestamper/TimestampNote.java
          src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory2/usersettings.jelly
          http://jenkins-ci.org/commit/timestamper-plugin/b4311e8b36ebcaba57a0dd424bc798239db2ee2b
          Log:
          JENKINS-47051 Hide plain text link for pipeline steps

          Only instances of Run are capable of displaying the plain text or the
          /timestamps/ page, so hide the link if the context is of a different
          type.

          *NOTE:* This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

          Functionality will be removed from GitHub.com on January 31st, 2019.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Steven Brown Path: src/main/java/hudson/plugins/timestamper/TimestampNote.java src/main/resources/hudson/plugins/timestamper/annotator/TimestampAnnotatorFactory2/usersettings.jelly http://jenkins-ci.org/commit/timestamper-plugin/b4311e8b36ebcaba57a0dd424bc798239db2ee2b Log: JENKINS-47051 Hide plain text link for pipeline steps Only instances of Run are capable of displaying the plain text or the /timestamps/ page, so hide the link if the context is of a different type. * NOTE: * This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.

          Fixed included in Timestamper 1.8.10 which will be available shortly.

          Steven G Brown added a comment - Fixed included in Timestamper 1.8.10 which will be available shortly.

          Kayvan Sylvan added a comment -

          I still see this with Jenkins 2.182 and Timestamper 1.9

          Kayvan Sylvan added a comment - I still see this with Jenkins 2.182 and Timestamper 1.9

          Basil Crow added a comment -

          Per Steven's comment I am marking this as resolved in 1.8.10. ksylvan, if you are still experiencing problems, could you please open a new issue with more details?

          Basil Crow added a comment - Per Steven's comment I am marking this as resolved in 1.8.10. ksylvan , if you are still experiencing problems, could you please open a new issue with more details?

          Whoever comes to this ticket searching for a plain text output of a pipeline step, I see a work-around in using BlueOceans REST API,

          https://SERVER/blue/rest/organizations/jenkins/pipelines/FOLDER1/pipelines/FOLDER2/pipelines/FOLDER3/pipelines/FOLDER4/pipelines/JOB_BASE_NAME/runs/BUILD_ID/nodes/NODE_ID/steps/STEP_ID/log/

          The API call shows after clicking the "BlueOcean" link and finding the job. The NODE_ID parameter does not show in the original Jenkins Pipeline Steps rich-format console log,

          https://SERVER/job/FOLDER1/job/FOLDER2/job/FOLDER3/job/FOLDER4/job/JOB_BASE_NAME/BUILD_ID/execution/node/STEP_ID/log/

          Ilguiz Latypov added a comment - Whoever comes to this ticket searching for a plain text output of a pipeline step, I see a work-around in using BlueOceans REST API, https://SERVER/blue/rest/organizations/jenkins/pipelines/FOLDER1/pipelines/FOLDER2/pipelines/FOLDER3/pipelines/FOLDER4/pipelines/JOB_BASE_NAME/runs/BUILD_ID/nodes/NODE_ID/steps/STEP_ID/log/ The API call shows after clicking the "BlueOcean" link and finding the job. The NODE_ID parameter does not show in the original Jenkins Pipeline Steps rich-format console log, https://SERVER/job/FOLDER1/job/FOLDER2/job/FOLDER3/job/FOLDER4/job/JOB_BASE_NAME/BUILD_ID/execution/node/STEP_ID/log/

            stevengbrown Steven G Brown
            mkm Marko Mikulicic
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: