diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-09-18 02:00:23 +0200 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2017-09-18 02:01:03 +0200 |
commit | b6bb0a798333b70d0a7e5c1f123b666dfa40822c (patch) | |
tree | 5a4d24bea449b3fc84a3df949cd3701d9227c5ab /jjb/daily-jjb-doc-update/include-doc-update.sh | |
parent | 72525273dc11c1d61a7091cb1cdad171a2e321c3 (diff) |
Convert doc site job to jjb
Change-Id: I87700e558dc20705f85a2ed78f8fe9df057e95e4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/daily-jjb-doc-update/include-doc-update.sh')
-rw-r--r-- | jjb/daily-jjb-doc-update/include-doc-update.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/jjb/daily-jjb-doc-update/include-doc-update.sh b/jjb/daily-jjb-doc-update/include-doc-update.sh new file mode 100644 index 00000000..47570151 --- /dev/null +++ b/jjb/daily-jjb-doc-update/include-doc-update.sh @@ -0,0 +1,25 @@ +#!/bin/bash +set -e + +# we need a name and an email +#git config --global user.name build.automotivelinux.org +#git config --global user.email jenkins@automotivelinux.org +git config user.name build.automotivelinux.org +git config user.email jenkins@automotivelinux.org + +# make sure 'node' is in path (debian calls it nodejs) +mkdir -p bin +ln -sf /usr/bin/nodejs bin/node +export PATH=$PATH:`pwd`/bin + +pushd doctools/webdocs + npm install + gem list +popd + +# build the docs +pushd webdocs-agl + make clean + make fetch + make build +popd
\ No newline at end of file |