Update Jenkinsfile

This commit is contained in:
Joseph Robinson
2020-05-16 14:09:08 -07:00
committed by GitHub
parent b7c5442ec6
commit 5a5eda4b09

6
Jenkinsfile vendored
View File

@@ -28,11 +28,11 @@ git submodule update --init --recursive'''
stage('Report') {
steps {
discordSend(
description: '```\n' + getChanges(currentBuild) + '\n```',
footer: "Footer Text",
description: "**Build:** [${currentBuild.id}](${env.BUILD_URL})\n**Status:** [${currentBuild.currentResult}](${env.BUILD_URL})",
footer: "**JosephWorks Jenkins Server**",
link: env.BUILD_URL,
result: currentBuild.currentResult,
title: JOB_NAME,
title: "${env.JOB_NAME} #${currentBuild.id}",
webhookURL: "$DISCORD_WEBHOOK_URL"
)
}