Skip to content
This repository has been archived by the owner on Nov 17, 2018. It is now read-only.

Commit

Permalink
Closes #35
Browse files Browse the repository at this point in the history
  • Loading branch information
KocproZ committed Sep 21, 2018
1 parent 100d61f commit e21b4cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public WebhookPublisher(String webhookURL, String thumbnailURL, boolean sendOnSt
public boolean perform(AbstractBuild build, Launcher launcher, BuildListener listener) throws IOException, InterruptedException {
final EnvVars env = build.getEnvironment(listener);
// The global configuration, used to fetch the instance url
JenkinsLocationConfiguration globalConfig = new JenkinsLocationConfiguration();
JenkinsLocationConfiguration globalConfig = JenkinsLocationConfiguration.get();

// Create a new webhook payload
DiscordWebhook wh = new DiscordWebhook(env.expand(this.webhookURL));
Expand Down

0 comments on commit e21b4cf

Please sign in to comment.