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

"Replay" pipeline button/link is not (always?) available (anymore?)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Labels:
    • Environment:
    • Similar Issues:

      Description

      Based on https://groups.google.com/forum/?#!msg/jenkinsci-users/fsU3BnOpGOk/9q1bBAxRCgAJ (Sorry about kind of cross-posting; and sorry for my naive guess of involved "component/s")

      Since (felt) very, very recently the "Replay" button is not shown anymore for some slightly older (pipeline) builds.

      What does it depend on?

      • It does NOT seem to be available based on (a) work day, or (jenkins log inspired suspicions) (b) jobAnalytics or (c) Workspace clean-up.
      • And also not Jenkins (master) restart dependent.

      (Maybe it always behaved like this and I have really never ever tried to replay a slightly older build. Which I strongly doubt at the moment.)

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Sam Van Oort
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java
            src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java
            src/test/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayActionTest.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/64848b1f7f83d7846f607181b675e04aaf8caed0
            Log:
            Fixes to JENKINS-50784 to ensure we hard-fetch FlowExecutions when we need to

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sam Van Oort Path: pom.xml src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java src/test/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayActionTest.java http://jenkins-ci.org/commit/workflow-cps-plugin/64848b1f7f83d7846f607181b675e04aaf8caed0 Log: Fixes to JENKINS-50784 to ensure we hard-fetch FlowExecutions when we need to
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Sam Van Oort
            Path:
            src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java
            src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/index.jelly
            src/test/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayActionTest.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/b29500120684e54eb202f2dad46ad7269e631ab4
            Log:
            Full test and fix for lazy-load issues with ReplayAction JENKINS-50784

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sam Van Oort Path: src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/index.jelly src/test/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayActionTest.java http://jenkins-ci.org/commit/workflow-cps-plugin/b29500120684e54eb202f2dad46ad7269e631ab4 Log: Full test and fix for lazy-load issues with ReplayAction JENKINS-50784
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Sam Van Oort
            Path:
            pom.xml
            src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java
            src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java
            src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayPipelineCommand.java
            src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/index.jelly
            src/test/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayActionTest.java
            http://jenkins-ci.org/commit/workflow-cps-plugin/9a54fd25886a301502121918f91bc0b5be29ca13
            Log:
            Merge pull request #222 from svanoort/lazy-load-fixToGetOrNull-JENKINS-50784

            Lazy load fix to get or null JENKINS-50784

            Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/56f3fde1d5c6...9a54fd25886a

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Sam Van Oort Path: pom.xml src/main/java/org/jenkinsci/plugins/workflow/cps/CpsFlowExecution.java src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction.java src/main/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayPipelineCommand.java src/main/resources/org/jenkinsci/plugins/workflow/cps/replay/ReplayAction/index.jelly src/test/java/org/jenkinsci/plugins/workflow/cps/replay/ReplayActionTest.java http://jenkins-ci.org/commit/workflow-cps-plugin/9a54fd25886a301502121918f91bc0b5be29ca13 Log: Merge pull request #222 from svanoort/lazy-load-fixToGetOrNull- JENKINS-50784 Lazy load fix to get or null JENKINS-50784 Compare: https://github.com/jenkinsci/workflow-cps-plugin/compare/56f3fde1d5c6...9a54fd25886a
            Hide
            svanoort Sam Van Oort added a comment -

            Solved as of workflow-cps 2.49, workflow-job 2.20 (plus some ancillary PRs)

            Show
            svanoort Sam Van Oort added a comment - Solved as of workflow-cps 2.49, workflow-job 2.20 (plus some ancillary PRs)
            Hide
            reinholdfuereder Reinhold Füreder added a comment -

            Yes, indeed: it works! (Sorry for the delay)

            Thanks Sam Van Oort

            Show
            reinholdfuereder Reinhold Füreder added a comment - Yes, indeed: it works! (Sorry for the delay) Thanks Sam Van Oort

              People

              • Assignee:
                svanoort Sam Van Oort
                Reporter:
                reinholdfuereder Reinhold Füreder
              • Votes:
                3 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: