Update Jenkinsfile

This commit is contained in:
Joseph Robinson
2020-05-16 13:36:43 -07:00
committed by GitHub
parent 81f70deb80
commit b7c5442ec6

10
Jenkinsfile vendored
View File

@@ -28,15 +28,7 @@ git submodule update --init --recursive'''
stage('Report') {
steps {
discordSend(
title: "Finished ${currentBuild.currentResult}",
description: '```\n' + getChanges(currentBuild) + '\n```',
successful: currentBuild.resultIsBetterOrEqualTo("SUCCESS"),
result: currentBuild.currentResult,
thumbnail: "https://img.hexeption.co.uk/Magma_Block.png",
webhookURL: "$DISCORD_WEBHOOK_URL"
)
discordSend(
description: "Jenkins Pipeline Build",
description: '```\n' + getChanges(currentBuild) + '\n```',
footer: "Footer Text",
link: env.BUILD_URL,
result: currentBuild.currentResult,