io.jenkins.tools.bom
- bom-2.235.x
- 918.vae501d2cdc99
+ bom-2.319.x
+ 1589.v952386a_7b_85a
import
pom
@@ -85,7 +82,7 @@
com.konghq
unirest-java
- 3.13.6
+ 3.13.10
diff --git a/src/main/java/nz/co/jammehcow/jenkinsdiscord/DiscordPipelineStep.java b/src/main/java/nz/co/jammehcow/jenkinsdiscord/DiscordPipelineStep.java
index 640245c..6924302 100644
--- a/src/main/java/nz/co/jammehcow/jenkinsdiscord/DiscordPipelineStep.java
+++ b/src/main/java/nz/co/jammehcow/jenkinsdiscord/DiscordPipelineStep.java
@@ -12,7 +12,7 @@
import org.kohsuke.stapler.DataBoundConstructor;
import org.kohsuke.stapler.DataBoundSetter;
-import javax.annotation.Nonnull;
+import edu.umd.cs.findbugs.annotations.NonNull;
import javax.inject.Inject;
import jenkins.model.JenkinsLocationConfiguration;
@@ -267,7 +267,7 @@ public String getFunctionName() {
return "discordSend";
}
- @Nonnull
+ @NonNull
@Override
public String getDisplayName() {
return "Send an embed message to Webhook URL";
diff --git a/src/main/java/nz/co/jammehcow/jenkinsdiscord/WebhookPublisher.java b/src/main/java/nz/co/jammehcow/jenkinsdiscord/WebhookPublisher.java
index fcc3e88..a9a4248 100644
--- a/src/main/java/nz/co/jammehcow/jenkinsdiscord/WebhookPublisher.java
+++ b/src/main/java/nz/co/jammehcow/jenkinsdiscord/WebhookPublisher.java
@@ -1,5 +1,6 @@
package nz.co.jammehcow.jenkinsdiscord;
+import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.EnvVars;
import hudson.Extension;
import hudson.Launcher;
@@ -27,6 +28,7 @@
* Date: 22/04/17.
*/
+@SuppressFBWarnings(value = "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE", justification = "Requires triage")
public class WebhookPublisher extends Notifier {
private final String webhookURL;
private final String branchName;
diff --git a/src/main/resources/index.jelly b/src/main/resources/index.jelly
new file mode 100644
index 0000000..c71efcc
--- /dev/null
+++ b/src/main/resources/index.jelly
@@ -0,0 +1,4 @@
+
+
+ Discord Notifier allows you to send Discord embeds about your builds via Discord's webhooks.
+