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

git at git.haskell.org git at git.haskell.org
Sat Jun 17 13:52:16 UTC 2017


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

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

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

commit c6d0f870779bdff04b5def72c0ab6b2046fd573b
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


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

c6d0f870779bdff04b5def72c0ab6b2046fd573b
 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