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

Open Blue Ocean button is not working when jenkins home url is different

    Details

    • Similar Issues:
    • Epic Link:

      Description

      In a case of having a difference home URL of Jenkins, It is not working well.
      ex>
      home url : jenkins.me/jenkins
      BlueOceanUrl is, "jenkins.me/blue". but it should link "jenkins.me/jenkins/blue"

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            Jay Kim did you mean to put this "In Progress"? Are you working on this?

            Show
            jamesdumay James Dumay added a comment - Jay Kim did you mean to put this "In Progress"? Are you working on this?
            Hide
            rpkim Jay Kim added a comment -

            James Dumay yes. I did.
            But I don't understand the process completely.
            I just modify the file from git branch and try to commit.

            Show
            rpkim Jay Kim added a comment - James Dumay yes. I did. But I don't understand the process completely. I just modify the file from git branch and try to commit.
            Hide
            rpkim Jay Kim added a comment -

            James Dumay Could you let me know the process for commit ?

            https://github.com/rpkim/blueocean-plugin/blob/master/blueocean-web/src/main/js/try.js

            origin source :
            function getAppUrl() {
            const rootUrl = $('head').attr('data-rooturl');
            if (!rootUrl)

            { return ''; }

            else

            { return rootUrl; }

            }

            modified source
            function getAppUrl()

            { return rootUrl = $('head').attr('data-rooturl'); }
            Show
            rpkim Jay Kim added a comment - James Dumay Could you let me know the process for commit ? https://github.com/rpkim/blueocean-plugin/blob/master/blueocean-web/src/main/js/try.js origin source : function getAppUrl() { const rootUrl = $('head').attr('data-rooturl'); if (!rootUrl) { return ''; } else { return rootUrl; } } modified source function getAppUrl() { return rootUrl = $('head').attr('data-rooturl'); }
            Show
            rpkim Jay Kim added a comment - https://github.com/rpkim/blueocean-plugin/pull/1
            Hide
            jamesdumay James Dumay added a comment -

            Jay Kim You want to file the PR against our repo rather than your fork. If you need help then read this https://help.github.com/articles/creating-a-pull-request-from-a-fork/

            Show
            jamesdumay James Dumay added a comment - Jay Kim You want to file the PR against our repo rather than your fork. If you need help then read this https://help.github.com/articles/creating-a-pull-request-from-a-fork/
            Hide
            rpkim Jay Kim added a comment -

            James Dumay Thanks. I create a pull request, https://github.com/jenkinsci/blueocean-plugin/pull/749

            Have a good day.
            Jay.

            Show
            rpkim Jay Kim added a comment - James Dumay Thanks. I create a pull request, https://github.com/jenkinsci/blueocean-plugin/pull/749 Have a good day. Jay.

              People

              • Assignee:
                rpkim Jay Kim
                Reporter:
                rpkim Jay Kim
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: