[commit: ghc] wip/jenkins: Testing (5106252)

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


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

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/5106252c2aa3f257979dddaeef647ac552ec985a/ghc

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

commit 5106252c2aa3f257979dddaeef647ac552ec985a
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Fri Apr 28 09:53:13 2017 -0400

    Testing


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

5106252c2aa3f257979dddaeef647ac552ec985a
 Jenkinsfile | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7ff08f0..f643e51 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,16 +1,20 @@
 pipeline {
-    agent any
-    stages {
-        stage('Build') {
-            steps {
-                sh 'git submodule update --init --recursive'
-                sh '''
-                   ./boot
-                   ./configure --enable-tarballs-autodownload
-                   make -j$THREADS
-                   make THREADS=$THREADS test
-                   '''
-            }
-        }
+  agent any
+  parameters {
+    booleanParam(name: 'build_docs', defaultValue: false, description: 'build and upload documentation')
+  }
+
+  stages {
+    stage('Build') {
+      steps {
+        sh 'git submodule update --init --recursive'
+        sh '''
+           ./boot
+           ./configure --enable-tarballs-autodownload
+           make -j$THREADS
+           make THREADS=$THREADS test
+           '''
+      }
     }
+  }
 }



More information about the ghc-commits mailing list