[commit: ghc] wip/jenkins: Don't try to record commit of bindist (2f87ce7)

git at git.haskell.org git at git.haskell.org
Thu Jul 27 20:49:55 UTC 2017


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

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/2f87ce74bc845960acb64a48eab490be66f0b6ff/ghc

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

commit 2f87ce74bc845960acb64a48eab490be66f0b6ff
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Jun 5 15:31:26 2017 -0400

    Don't try to record commit of bindist


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

2f87ce74bc845960acb64a48eab490be66f0b6ff
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index adf8058..9a098e0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,6 +45,7 @@ stage("Build source distribution") {
 
       def json = new JSONObject()
       json.put('dirName', "ghc-${version}" as String)
+      json.put('commit', resolveCommitSha('HEAD'))
       writeJSON(file: 'src-dist.json', json: json)
 
       stash(name: 'source-dist', includes: 'ghc-src.tar.xz,ghc-win32-tarballs.tar.xz,src-dist.json')
@@ -191,7 +192,6 @@ def buildGhc(params) {
       def json = new JSONObject()
       def tarPath = getMakeValue(makeCmd, 'BIN_DIST_PREP_TAR_COMP')
       def tarName = sh(script: "basename ${tarPath}", returnStdout: true)
-      json.put('commit', resolveCommitSha('HEAD'))
       json.put('tarName', tarName)
       json.put('dirName', getMakeValue(makeCmd, 'BIN_DIST_NAME'))
       json.put('ghcVersion', getMakeValue(makeCmd, 'ProjectVersion'))



More information about the ghc-commits mailing list