mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-26 23:02:30 +00:00
fix(ci): fix name of discord notify method
Also use absolute path to load Groovy script. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
d864db3fb5
commit
aaf10e0871
@ -93,8 +93,8 @@ pipeline {
|
||||
|
||||
post {
|
||||
success { script {
|
||||
def discord = load 'ci/discord.groovy'
|
||||
discord.notify(
|
||||
def discord = load "${WORKSPACE}/ci/discord.groovy"
|
||||
discord.send(
|
||||
header: 'Nim-Waku deployment successful!',
|
||||
cred: 'discord-waku-deployments-webhook',
|
||||
)
|
||||
|
@ -1,4 +1,4 @@
|
||||
def discordNotify(Map args=[:]) {
|
||||
def void send(Map args=[:]) {
|
||||
def opts = [
|
||||
header: args.header ?: 'Deployment successful!',
|
||||
cred: args.cred ?: null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user