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

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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • blueocean-plugin
    • osx 10.10.5
      .pkg from Jenkins website : Jenkins ver. 2.7.1

      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.

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

          Maelig Gohin created issue -

          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?

          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?

          Maelig Gohin added a comment -

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

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

          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.

          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.
          James Dumay made changes -
          Priority Original: Blocker [ 1 ] New: Major [ 3 ]
          James Dumay made changes -
          Epic Link New: JENKINS-36588 [ 172614 ]
          James Dumay made changes -
          Rank New: Ranked higher

          Maelig Gohin added a comment - - edited

          Ok.

          I recorded a screen with urls, check the GIF

          Maelig Gohin added a comment - - edited Ok. I recorded a screen with urls, check the GIF
          Maelig Gohin made changes -
          Attachment New: jenkins.gif [ 33296 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 173331 ] New: JNJira + In-Review [ 185071 ]

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

              Created:
              Updated:
              Resolved: