From efac703de5f64218c992746218149affadc92726 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Mon, 12 Jun 2017 14:07:39 -0400 Subject: Propagate repo and branch names to all job logs --- jenkins/dispatch.groovy | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jenkins/dispatch.groovy') diff --git a/jenkins/dispatch.groovy b/jenkins/dispatch.groovy index 6d37274..1d42053 100644 --- a/jenkins/dispatch.groovy +++ b/jenkins/dispatch.groovy @@ -48,6 +48,8 @@ node(LABEL) { // Make the log files a bit more deterministic env.PYTHONUNBUFFERED = "true" + sh "printenv" + // Delete any existing job workspace directory contents. // The directory deleted is the one named after the jenkins pipeline job. deleteDir() @@ -208,6 +210,8 @@ node(LABEL) { build job: pkg, parameters: [string(name: "label", value: env.NODE_NAME), + string(name: "build_control_repo", value: BUILD_CONTROL_REPO), + string(name: "build_control_branch", value: BUILD_CONTROL_BRANCH), string(name: "py_version", value: PY_VERSION), string(name: "numpy_version", value: "${this.manifest.numpy_version}"), -- cgit