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

Job Configuration History not accessible from public IP address

      Jenkins is not behaving correctly with the Job Configuration History plugin.

      In any job if I click on the tool icon with the tooltip "Config changed since last build", I get redirected to the public IP address variant, which then results in the HTTP Error 404 not found.

      We have other users, that might want to check the job configuration history, that are not connected to our local network.

      But connecting to this URL using our local IP address is working fine.

      So there is an issue and a question:
      Issue - The public IP address cannot access the configuration history.
      Question - Why is the URL redirecting me to the public IP address when I am accessing it via our local IP address? Is this intended or does it has anything to do with the public URL in Jenkins System configuration?

      Screenshot has been attached.

          [JENKINS-42464] Job Configuration History not accessible from public IP address

          Code changed in jenkins
          User: Jochen Fürbacher
          Path:
          src/main/java/hudson/plugins/jobConfigHistory/JobConfigBadgeAction.java
          http://jenkins-ci.org/commit/jobConfigHistory-plugin/080ac3820a27cc604e2bf6b8e972336470ef10b4
          Log:
          JENKINS-42464 Use RootUrlFromRequest.

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jochen Fürbacher Path: src/main/java/hudson/plugins/jobConfigHistory/JobConfigBadgeAction.java http://jenkins-ci.org/commit/jobConfigHistory-plugin/080ac3820a27cc604e2bf6b8e972336470ef10b4 Log: JENKINS-42464 Use RootUrlFromRequest.

          Code changed in jenkins
          User: Jochen A. Fürbacher
          Path:
          src/main/java/hudson/plugins/jobConfigHistory/JobConfigBadgeAction.java
          http://jenkins-ci.org/commit/jobConfigHistory-plugin/5c3b981ae7a185a727782341e3233b30d965d6af
          Log:
          Merge pull request #61 from Jochen-A-Fuerbacher/JENKINS-42464

          JENKINS-42464 Use RootUrlFromRequest.

          Compare: https://github.com/jenkinsci/jobConfigHistory-plugin/compare/b2d39c7a556e...5c3b981ae7a1

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jochen A. Fürbacher Path: src/main/java/hudson/plugins/jobConfigHistory/JobConfigBadgeAction.java http://jenkins-ci.org/commit/jobConfigHistory-plugin/5c3b981ae7a185a727782341e3233b30d965d6af Log: Merge pull request #61 from Jochen-A-Fuerbacher/ JENKINS-42464 JENKINS-42464 Use RootUrlFromRequest. Compare: https://github.com/jenkinsci/jobConfigHistory-plugin/compare/b2d39c7a556e...5c3b981ae7a1

          Fix will be available in the next release version.

          Jochen A. Fürbacher added a comment - Fix will be available in the next release version.

          New version of JCH released. Will be in the update center soon.

          Jochen A. Fürbacher added a comment - New version of JCH released. Will be in the update center soon.

            jochenafuerbacher Jochen A. Fürbacher
            unit1 FName LName
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: