diff options
Diffstat (limited to 'jjb/daily-jjb-doc-update/include-doc-update.sh')
-rw-r--r-- | jjb/daily-jjb-doc-update/include-doc-update.sh | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/jjb/daily-jjb-doc-update/include-doc-update.sh b/jjb/daily-jjb-doc-update/include-doc-update.sh index 47570151..0aec6733 100644 --- a/jjb/daily-jjb-doc-update/include-doc-update.sh +++ b/jjb/daily-jjb-doc-update/include-doc-update.sh @@ -1,25 +1,19 @@ #!/bin/bash set -e +#!/bin/bash +set -e +set -x # 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 +git config --global user.name build.automotivelinux.org +git config --global user.email jenkins@automotivelinux.org -# build the docs -pushd webdocs-agl - make clean - make fetch - make build -popd
\ No newline at end of file +rm -rf docs-webtemplate || true +wget https://raw.githubusercontent.com/automotive-grade-linux/docs-webtemplate/master-next/setupdocs.sh +mkdir docs-webtemplate +bash -x setupdocs.sh --directory=docs-webtemplate --webtemplate-ref=master-next --doctools-ref=master-next --baseurl=/next +# Todo --baseurl=/upload/ci/20018 +cd docs-webtemplate +make build
\ No newline at end of file |