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

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

    XMLWordPrintable

Details

    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

            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?

            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?
            mgohin Maelig Gohin added a comment -

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

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

            mgohin 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.

            jamesdumay James Dumay added a comment - mgohin 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.
            mgohin Maelig Gohin added a comment - - edited

            Ok.

            I recorded a screen with urls, check the GIF

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

            Thanks mgohin 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.

            michaelneale Michael Neale added a comment - Thanks mgohin 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.
            jamesdumay James Dumay added a comment -

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

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

            People

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

              Dates

                Created:
                Updated:
                Resolved: