[commit: ghc] wip/jenkins: Fix missing binding (3661177)

git at git.haskell.org git at git.haskell.org
Sat Jun 17 13:50:32 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/366117780caf9f2430bf66c4c907402412d20210/ghc

>---------------------------------------------------------------

commit 366117780caf9f2430bf66c4c907402412d20210
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Wed May 31 11:36:00 2017 -0400

    Fix missing binding


>---------------------------------------------------------------

366117780caf9f2430bf66c4c907402412d20210
 Jenkinsfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7df1f02..605a635 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -155,8 +155,9 @@ def buildGhc(params) {
   stage('Prepare binary distribution') {
     sh "${makeCmd} binary-dist"
     def json = new JSONObject()
+    def tarName = getMakeValue(makeCmd, 'BIN_DIST_PREP_TAR_COMP')
     json.put('commit', resolveCommitSha('HEAD'))
-    json.put('tarName', getMakeValue(makeCmd, 'BIN_DIST_PREP_TAR_COMP'))
+    json.put('tarName', tarName)
     json.put('dirName', getMakeValue(makeCmd, 'BIN_DIST_NAME'))
     json.put('ghcVersion', getMakeValue(makeCmd, 'ProjectVersion'))
     json.put('targetPlatform', getMakeValue(makeCmd, 'TARGETPLATFORM'))



More information about the ghc-commits mailing list