[commit: ghc] wip/jenkins: Be more explicit (473744f)

git at git.haskell.org git at git.haskell.org
Sun Jun 4 05:07:36 UTC 2017


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

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

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

commit 473744fee32368bad7f0bfd0639cd2b7314354bb
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue May 30 16:04:31 2017 -0400

    Be more explicit


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

473744fee32368bad7f0bfd0639cd2b7314354bb
 Jenkinsfile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 45aae0c..d6122ef 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,5 +1,11 @@
 #!groovy
 
+/*
+  Dependencies:
+   * Pipeline Utility steps plugin
+
+*/
+
 properties(
   [
     parameters(
@@ -166,7 +172,7 @@ def getMakeValue(String makeCmd, String value) {
 
 def withGhcBinDist(String targetTriple, Closure f) {
   unstash "bindist-${targetTriple}"
-  def metadata = readJSON "bindist.json"
+  def metadata = readJSON file: "bindist.json"
   sh "tar -xf ${metadata.tarName}"
   dir("${metadata.bindistName}") {
     try {



More information about the ghc-commits mailing list