Browse Source

include version in build email subject

master
artoo 1 year ago
parent
commit
d9ed61b32f
  1. 2
      vars/NotifyBuildFailure.groovy
  2. 2
      vars/NotifyBuildSuccess.groovy

2
vars/NotifyBuildFailure.groovy

@ -2,7 +2,7 @@
def call(def pkg) {
String path = pkg.config.src.repoPath
String pkgbase = pkg.info.pkgbase.name
String pkgbase = "${pkg.info.pkgbase.name}-${pkg.info.version}"
String subject = "[${pkg.config.src.repoAddName}] Failure: ${pkgbase}"

2
vars/NotifyBuildSuccess.groovy

@ -5,7 +5,7 @@ def call(def pkg) {
pkg.config.actions.isAdd = true
String path = pkg.config.src.repoPath
String pkgbase = pkg.info.pkgbase.name
String pkgbase = "${pkg.info.pkgbase.name}-${pkg.info.version}"
String subject = "[${pkg.config.src.repoAddName}] Success: ${pkgbase}"

Loading…
Cancel
Save