[commit: ghc] wip/jenkins: Don't try to record commit of bindist (6501234)
git at git.haskell.org
git at git.haskell.org
Fri Jul 28 16:44:25 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/6501234d6319e7c8339f5c019a9cedf9e9b09851/ghc
>---------------------------------------------------------------
commit 6501234d6319e7c8339f5c019a9cedf9e9b09851
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
>---------------------------------------------------------------
6501234d6319e7c8339f5c019a9cedf9e9b09851
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