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

Per step "View as plain text" not working

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: timestamper-plugin
    • Labels:
      None
    • Environment:
      Jenkins: 2.60.2
      "Pipeline: Job" 2.12.1

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          abayer 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.

          Show
          abayer 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.
          Hide
          abayer 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.

          Show
          abayer 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.
          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.
          Hide
          stevengbrown Steven G Brown added a comment -

          Fixed included in Timestamper 1.8.10 which will be available shortly.

          Show
          stevengbrown Steven G Brown added a comment - Fixed included in Timestamper 1.8.10 which will be available shortly.
          Hide
          ksylvan Kayvan Sylvan added a comment -

          I still see this with Jenkins 2.182 and Timestamper 1.9

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

            People

            • Assignee:
              stevengbrown Steven G Brown
              Reporter:
              mkm Marko Mikulicic
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: