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

lastSuccessfulRun is not a valid link for folder items

    • 1.0-japan-m9

      If you look at the api results for: https://blueocean.io/blue/rest/organizations/jenkins/pipelines/

      for the "admin/garbage-collect" job - it has a url for last success:

      "lastSuccessfulRun": "http://127.0.0.1:8080/blue/rest/organizations/jenkins/pipelines/garbage-collect/runs/15"

      This is incorrect, it should be:

      https://blueocean.io/blue/rest/organizations/jenkins/pipelines/admin/pipelines/garbage-collect/runs/15/

      It is now adding in the folder path as per the API spec.

      Also - why is there "name", "displayName" and now "fullName" ?

          [JENKINS-35722] lastSuccessfulRun is not a valid link for folder items

          Vivek Pandey added a comment -

          mneale Yes, thats bug, lastSuccessfulRun url is wrong, folders are not factored in this url. I will get this fixed.

          name: Name of the pipeline, e.g. "p1"
          displayName: Descriptive, human readable name, "Pipeline p1"
          fullName: Gives fully qualified name, that could include folders as well, e.g. "folder1/folder2/p1"

          Vivek Pandey added a comment - mneale Yes, thats bug, lastSuccessfulRun url is wrong, folders are not factored in this url. I will get this fixed. name: Name of the pipeline, e.g. "p1" displayName: Descriptive, human readable name, "Pipeline p1" fullName: Gives fully qualified name, that could include folders as well, e.g. "folder1/folder2/p1"

          Michael Neale added a comment -

          vpandey great, makes sense.

          Michael Neale added a comment - vpandey great, makes sense.

          Vivek Pandey added a comment -

          mnealeLooks like fix in UX-533 took care of this issue, it was broken due to unintentionally flattening. I tested it on UX-533 branch and don't see the links appearing fine.

          Vivek Pandey added a comment - mneale Looks like fix in UX-533 took care of this issue, it was broken due to unintentionally flattening. I tested it on UX-533 branch and don't see the links appearing fine.

          Vivek Pandey added a comment -

          fixed in JENKINS-35773

          Vivek Pandey added a comment - fixed in JENKINS-35773

            vivek Vivek Pandey
            jamesdumay James Dumay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: