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

Link to Job sporadically broken due to null Jenkins root URL

XMLWordPrintable

      I had very inconsistent results when testing this plugin as a publisher (not as a pipeline step).

      Sporadically, the "... (Open)" link in the message was showing up as "(<nulljob/some-job/9/|Open>)".
      The null part is the Jenkins root URL.

      I don't really understand how this can happen because both the "Jenkins URL" under "Jenkins Location" and "Build Server URL" under "Global RocketChat Notifier Settings" are configured properly.

      After some research I did find the following statement regarding the usage of new JenkinsLocationConfiguration() vs JenkinsLocationConfiguration.get():
      https://issues.jenkins-ci.org/browse/JENKINS-52983?focusedCommentId=347707&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-347707
      RC notifier is using the apparently "deprecated" new JenkinsLocationConfiguration() approach which should be switched to .get(), AFAICS.

            Unassigned Unassigned
            famod Falko Modler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: