[commit: ghc] wip/jenkins: Trim whitespace from git output (f57ddbc)
git at git.haskell.org
git at git.haskell.org
Fri Jun 9 07:25:13 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/jenkins
Link : http://ghc.haskell.org/trac/ghc/changeset/f57ddbcda67a5c8cbeb8133b4f1196432a0f02e2/ghc
>---------------------------------------------------------------
commit f57ddbcda67a5c8cbeb8133b4f1196432a0f02e2
Author: Ben Gamari <ben at smart-cactus.org>
Date: Sun Jun 4 11:00:28 2017 -0400
Trim whitespace from git output
>---------------------------------------------------------------
f57ddbcda67a5c8cbeb8133b4f1196432a0f02e2
Jenkinsfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 410a86d..b709774 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -279,7 +279,7 @@ def testGhc(params) {
}
def resolveCommitSha(String ref) {
- return sh(script: "git rev-parse ${ref}", returnStdout: true)
+ return sh(script: "git rev-parse ${ref}", returnStdout: true).trim()
}
// Push update to ghc.readthedocs.org.
More information about the ghc-commits
mailing list