[commit: ghc] wip/jenkins: Don't try to record commit of bindist (fadc204)
git at git.haskell.org
git at git.haskell.org
Mon Jun 5 19:31:48 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/fadc204d28157be69943f3e901500127fe866ce5/ghc
>---------------------------------------------------------------
commit fadc204d28157be69943f3e901500127fe866ce5
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
>---------------------------------------------------------------
fadc204d28157be69943f3e901500127fe866ce5
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