From 8cd438667ba220203434074c383df028ad1b3d3c Mon Sep 17 00:00:00 2001 From: Leonard Lausen Date: Fri, 23 Nov 2018 14:47:22 +0000 Subject: [PATCH] Test documentation (dev setup) on CI CI currently only tests that documentation can be built after all notebooks are run and converted from .md to .ipynb format. Running all notebooks takes some time. This CI step makes sure, that the documentation can also be built without converting the notebooks first. --- Jenkinsfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 2a25440125..0e1a32e1b0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -46,6 +46,18 @@ stage("Unit Test") { sh("ci/upload_doc.sh ${bucket} ${path}") } } + }, + // Make sure documentation can be built without building notebooks + 'Documentation (dev setup)': { + node { + ws('workspace/gluon-nlp-local-docs') { + checkout scm + sh """#!/bin/bash + cd docs + make html + """ + } + } } }