[commit: ghc] wip/jenkins: Don't try to record commit of bindist (5f607c3)
git at git.haskell.org
git at git.haskell.org
Fri Jun 9 07:25:46 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/5f607c3a31c17482bd24b5301f0944d74b91d81c/ghc
>---------------------------------------------------------------
commit 5f607c3a31c17482bd24b5301f0944d74b91d81c
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
>---------------------------------------------------------------
5f607c3a31c17482bd24b5301f0944d74b91d81c
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