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

rename of job could make it accessible under old name for some time with HTTP 301

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When I rename some job (or view) in jenkins, link to it stop working (ehmm, this is perfectly OK). I would like to improve this behaviour and make jenkins return for old url (former name of job in it) return HTTP 301 moved permanently redirect to new name of job. I hope that this way will my browser (firefox) update history of visited urls and it will be more comfortable to search for jobs directly in url bar.

      I think that returning 301 forl renamed urls should be enough just till next shutdown of jenkins itself (so no permanent store for older urls need to be kept).

      This improvement will lower hate for renaming jobs and views and thus it will developers encourage to keep organization of many jobs nice and tidy.

        Attachments

          Activity

          Hide
          danielbeck Daniel Beck added a comment -

          That's what I wrote https://github.com/jenkinsci/item-forwarder-plugin for, but never got around to releasing it. If you know how to build a Maven project, it may help you.

          Show
          danielbeck Daniel Beck added a comment - That's what I wrote https://github.com/jenkinsci/item-forwarder-plugin for, but never got around to releasing it. If you know how to build a Maven project, it may help you.

            People

            • Assignee:
              Unassigned
              Reporter:
              lubo_varga_nike Lubo Varga
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: