Skip to content
Snippets Groups Projects
Commit db2b8f96 authored by Larbi Gharib's avatar Larbi Gharib
Browse files

Submodule build doc

Change-Id: I5e08c5a418393a982144239db4bff730b2714176
parent 3efa6ee5
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
mkdir -p jams
cd userguide || exit
cd src/mkpdfs-mkdocs-plugin || ( echo 'Cannot cd to src/mkpdfs-mkdocs-plugin' && exit )
git pull || ( echo 'Error on git pull' && exit )
pip install npm || ( echo 'Error installing npm pip module' && exit )
python design.py || ( echo 'Error exexuting design.py ' && exit )
cd ../.. || ( echo 'Error changing directory to userguide ' && exit )
/var/lib/jenkins/.local/bin/mkdocs build || exit 0
cp site/pdf/combined.pdf ../jams/userguide.pdf
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment