Branch: refs/heads/master
Home: https://github.com/jenkinsci/opsgenie-plugin
Commit: 16e98b49474b9453e3a56ed43331284d26873a85
https://github.com/jenkinsci/opsgenie-plugin/commit/16e98b49474b9453e3a56ed43331284d26873a85
Author: Francois Campbell <[email protected]>
Date: 2019-09-25 (Wed, 25 Sep 2019)
Changed paths:
M
src/main/java/com/opsgenie/integration/jenkins/OpsGenieNotificationService.java
Log Message:
-----------
Use singleton JenkinsLocationConfiguration to get root URL
Newer versions of Jenkins don't call `JenkinsLocationConfiguration#load()` in
the constructor anymore, but we can use the singleton that's already loaded
from disk.
More context here:
https://issues.jenkins-ci.org/browse/JENKINS-52983?focusedCommentId=347707&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-347707
This change was tested in the script console:
```
println new JenkinsLocationConfiguration().getUrl()
```
null
```
println JenkinsLocationConfiguration.get().getUrl()
```
<the correct url>
Commit: e4d1dcefbfc15afcd3e2df6a0ecc724b5cfe5091
https://github.com/jenkinsci/opsgenie-plugin/commit/e4d1dcefbfc15afcd3e2df6a0ecc724b5cfe5091
Author: atodmal <[email protected]>
Date: 2020-11-23 (Mon, 23 Nov 2020)
Changed paths:
M
src/main/java/com/opsgenie/integration/jenkins/OpsGenieNotificationService.java
Log Message:
-----------
Merge pull request #6 from francoiscampbell/fix-root-url
Use singleton JenkinsLocationConfiguration to get root URL
Compare:
https://github.com/jenkinsci/opsgenie-plugin/compare/050c9c3952d2...e4d1dcefbfc1
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/opsgenie-plugin/push/refs/heads/master/050c9c-e4d1dc%40github.com.