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

[Blue Ocean] Remove hard coded link to new job from blue ocean header

    Details

    • Similar Issues:
    • Epic Link:

      Description

      Summary: const newJobUrl = `${baseUrl}/view/All/newJob` in PIpelines.jsx is hard coded and doesn't take into account localised URIs in jenkins.
      This should not be hard coded. This link should actually be removed from blue ocean header in longer term as it gets its own creation screen and doesn't have to delegate to classic.


      Fresh install of jenkins on my osx laptop.
      Installing plugin via experimental repository, everyting's ok.

      Opened an issue https://groups.google.com/forum/#!topic/jenkinsci-dev/C7Ze59o_XOo and guys redirected me to you.

        Attachments

          Issue Links

            Activity

            Hide
            michaelneale Michael Neale added a comment -

            Can you click on "New Item" when you are on your Jenkins? What is the url, and what do you see?

            Thanks for this. Have tried to reproduce this a few ways and unable to. Could you possibly record a screen recording too?

            Show
            michaelneale Michael Neale added a comment - Can you click on "New Item" when you are on your Jenkins? What is the url, and what do you see? Thanks for this. Have tried to reproduce this a few ways and unable to. Could you possibly record a screen recording too?
            Hide
            mgohin Maelig Gohin added a comment -

            http://localhost:7070/view/Tous/newJob --> looks like an i18n problem

            Show
            mgohin Maelig Gohin added a comment - http://localhost:7070/view/Tous/newJob --> looks like an i18n problem
            Hide
            jamesdumay James Dumay added a comment -

            Maelig Gohin OK thanks - we don't have a good way of solving that problem right now but we are visiting the way we create jobs soon and will consider it then.

            Show
            jamesdumay James Dumay added a comment - Maelig Gohin OK thanks - we don't have a good way of solving that problem right now but we are visiting the way we create jobs soon and will consider it then.
            Hide
            mgohin Maelig Gohin added a comment - - edited

            Ok.

            I recorded a screen with urls, check the GIF

            Show
            mgohin Maelig Gohin added a comment - - edited Ok. I recorded a screen with urls, check the GIF
            Hide
            michaelneale Michael Neale added a comment -

            Thanks Maelig Gohin we want to get rid of this link in hard coded form anyway, so this should naturally go away. Will keep it open for now.

            Show
            michaelneale Michael Neale added a comment - Thanks Maelig Gohin we want to get rid of this link in hard coded form anyway, so this should naturally go away. Will keep it open for now.
            Hide
            jamesdumay James Dumay added a comment -

            There's a whole epic planned (JENKINS-36588) to remove this and replace it with something nicer!

            Show
            jamesdumay James Dumay added a comment - There's a whole epic planned ( JENKINS-36588 ) to remove this and replace it with something nicer!

              People

              • Assignee:
                Unassigned
                Reporter:
                mgohin Maelig Gohin
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: