From dd7557f1ba8dc958ca1cd27e0b4b294cb2cc1535 Mon Sep 17 00:00:00 2001 From: Jarrett Jackson Date: Fri, 17 Feb 2023 01:35:41 -0500 Subject: [PATCH] Updated Jenkinsfile Added pipeline for discord-notifier plugin --- Jenkinsfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 10e8a4d..ac750e5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -7,5 +7,12 @@ pipeline { sh 'docker build -t microblog:latest .' } } + stage("Hello To Discord") { + steps { + echo ' Test to Discord' + discordSend description: '', footer: '', image: '', link: 'http://3.91.14.163:8080', result: '', scmWebUrl: '', thumbnail: '', title: + 'HelloToDiscordTest', webhookURL: 'https://discord.com/api/webhooks/1075879011667955872/Nk0gmKZkrISEs-hru-HjtzzgezWweABCdPsOKGIzkmj5xMcqKC3m1-dx7GZSu0yURAOo' + } + } } }