From 4160cd1310d9a38b4093d26eb42034794baa6d4e Mon Sep 17 00:00:00 2001 From: Michael Youngstrom Date: Fri, 24 May 2019 10:44:17 -0400 Subject: [PATCH] Add repo as an argument to the notifier (#20678) --- scripts/Jenkinsfiles/bokchoy | 2 +- scripts/Jenkinsfiles/python | 2 +- scripts/Jenkinsfiles/quality | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Jenkinsfiles/bokchoy b/scripts/Jenkinsfiles/bokchoy index 052cb44ad7..13c77830be 100644 --- a/scripts/Jenkinsfiles/bokchoy +++ b/scripts/Jenkinsfiles/bokchoy @@ -82,7 +82,7 @@ pipeline { script{ if (env.ghprbPullId != null) { // For PR jobs, run the edx-platform-test-notifier for PR reporting - build job: 'edx-platform-test-notifier', parameters: [string(name: 'PR_NUMBER', value: "${ghprbPullId}")], wait: false + build job: 'edx-platform-test-notifier', parameters: [string(name: 'REPO', value: "${REPO_NAME}"), string(name: 'PR_NUMBER', value: "${ghprbPullId}")], wait: false } else { // For master jobs run github-build-status and report to slack when necessary if (currentBuild.currentResult == "SUCCESS") { diff --git a/scripts/Jenkinsfiles/python b/scripts/Jenkinsfiles/python index a1a25acb34..3906c91932 100644 --- a/scripts/Jenkinsfiles/python +++ b/scripts/Jenkinsfiles/python @@ -187,7 +187,7 @@ pipeline { script{ if (env.ghprbPullId != null) { // For PR jobs, run the edx-platform-test-notifier for PR reporting - build job: 'edx-platform-test-notifier', parameters: [string(name: 'PR_NUMBER', value: "${ghprbPullId}")], wait: false + build job: 'edx-platform-test-notifier', parameters: [string(name: 'REPO', value: "${REPO_NAME}"), string(name: 'PR_NUMBER', value: "${ghprbPullId}")], wait: false } else { // For master jobs run github-build-status and report to slack when necessary if (currentBuild.currentResult == "SUCCESS") { diff --git a/scripts/Jenkinsfiles/quality b/scripts/Jenkinsfiles/quality index 58678d277d..a9f1cb983f 100644 --- a/scripts/Jenkinsfiles/quality +++ b/scripts/Jenkinsfiles/quality @@ -203,7 +203,7 @@ pipeline { } finally { if (env.ghprbPullId != null) { // For PR jobs, run the edx-platform-test-notifier for PR reporting - build job: 'edx-platform-test-notifier', parameters: [string(name: 'PR_NUMBER', value: "${ghprbPullId}")], wait: false + build job: 'edx-platform-test-notifier', parameters: [string(name: 'REPO', value: "${REPO_NAME}"), string(name: 'PR_NUMBER', value: "${ghprbPullId}")], wait: false } else { // For master jobs run github-build-status and report to slack when necessary if (currentBuild.currentResult == "SUCCESS") {