[commit: ghc] wip/jenkins: Be more explicit (6f1cfb1)

git at git.haskell.org git at git.haskell.org
Tue May 30 20:04:54 UTC 2017


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

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/6f1cfb15b1b1ec852182bdba0ce995c44efda037/ghc

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

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

    Be more explicit


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

6f1cfb15b1b1ec852182bdba0ce995c44efda037
 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