You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2019/11/14 11:15:08 UTC
[isis] branch master updated: ISIS-2062: fixes 'build-site' failing
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git
The following commit(s) were added to refs/heads/master by this push:
new c1b8fdc ISIS-2062: fixes 'build-site' failing
c1b8fdc is described below
commit c1b8fdc1b7b84a603e3296b3f7f718caad66b3cb
Author: Andi Huber <ah...@apache.org>
AuthorDate: Thu Nov 14 12:14:58 2019 +0100
ISIS-2062: fixes 'build-site' failing
---
scripts/ci/build-site.sh | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/scripts/ci/build-site.sh b/scripts/ci/build-site.sh
index f32c685..691adb1 100644
--- a/scripts/ci/build-site.sh
+++ b/scripts/ci/build-site.sh
@@ -1,18 +1,23 @@
#!/bin/bash
-set -e
SITE_CONFIG=$1
GROOVY_CMD=`command -v groovy`
+set -e
+
bash $CI_SCRIPTS_PATH/print-environment.sh "build-site"
echo ""
echo "\$SITE_CONFIG: ${SITE_CONFIG}"
-echo "\$GROOVY_CMD: ${GROOVY_CMD}"
+echo "\$GROOVY_CMD: ${GROOVY_CMD}"
echo ""
# for now meant to run with nightly builds only
-if [ ! -z "${GROOVY_CMD}" ]; then
+if [ -z "${GROOVY_CMD}" ]; then
+
+ echo "no groovy: skipping automated site content script(s)"
+
+else
## generate automated site content (adoc files)
${GROOVY_CMD} $CI_SCRIPTS_PATH/../generateConfigDocs.groovy \