Jenkins: Make Discord commit browser URL a variable

This commit is contained in:
RichardG867
2022-02-07 14:31:02 -03:00
parent b73d8f4c2f
commit d3717b6df0

3
.ci/Jenkinsfile vendored
View File

@@ -16,6 +16,7 @@
*/
def repository = 'https://github.com/86Box/86Box.git'
def commitBrowser = 'https://github.com/86Box/86Box/commit/%s'
def branch = 'master'
def osArchs = [
@@ -278,7 +279,7 @@ pipeline {
description: "**Status:** ${result}\n\u2060", /* word joiner character forces a blank line */
enableArtifactsList: false,
showChangeset: true,
scmWebUrl: "https://github.com/86Box/86Box/commit/%s"
scmWebUrl: commitBrowser
/* Notify IRC, which needs a node for whatever reason. */
node {