• Icon: Task Task
    • Resolution: Duplicate
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • pacific, atlantic, indian, arctic, tasman, pannonian, iapetus

      (Feel free to close this ticket if it's duplicative of other tickets already in JIRA. Just thought I would document what I'm hoping for).

      • If a request is made to /rest/blue/organizations/jenkins/pipeline/runs/:runId and there is an item in the queue with an expected build number equal to the runId, then issue a redirect to: /rest/blue/organizations/jenkins/pipeline/queue/:queueId
      • If a request is made to /rest/blue/organizations/jenkins/pipeline/queue/:queueId and there is a run that has the corresponding queueId, then issue a redirect to /rest/blue/organizations/jenkins/pipeline/runs/:runId

      After this change, deep-linking to Run Details for a queued item should hopefully "just work" after this change, as the current 404 will go away with a valid queue object being returned instead. We may need to add some logic in the REST result handler to ensure the QueueItemImpl is transformed to a pseudo run in this scenario.

          [JENKINS-38540] Add REST API redirects for /runs and /queue

          Cliff Meyers created issue -
          Cliff Meyers made changes -
          Epic Link New: JENKINS-35759 [ 171771 ]
          Cliff Meyers made changes -
          Link New: This issue blocks JENKINS-37379 [ JENKINS-37379 ]
          Keith Zantow made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Keith Zantow made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Keith Zantow made changes -
          Link New: This issue is blocking JENKINS-37843 [ JENKINS-37843 ]
          Keith Zantow made changes -
          Remote Link New: This issue links to "PR 543 (Web Link)" [ 14886 ]
          Michael Neale made changes -
          Sprint Original: pacific [ 101 ] New: pacific, atlantic [ 101, 106 ]
          James Dumay made changes -
          Sprint Original: pacific, atlantic [ 101, 106 ] New: pacific, atlantic, indian [ 101, 106, 126 ]
          James Dumay made changes -
          Sprint Original: pacific, atlantic, indian [ 101, 106, 126 ] New: pacific, atlantic, indian, arctic [ 101, 106, 126, 131 ]
          James Dumay made changes -
          Sprint Original: pacific, atlantic, indian, arctic [ 101, 106, 126, 131 ] New: pacific, atlantic, indian, arctic, tasman [ 101, 106, 126, 131, 136 ]

            kzantow Keith Zantow
            cliffmeyers Cliff Meyers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: