2019-11-19 13:20:48 +01:00
|
|
|
pipeline {
|
|
|
|
agent {label 'msspec_agent_amd64'}
|
|
|
|
stages {
|
2021-09-24 16:34:13 +02:00
|
|
|
stage('Building the code...') {
|
2019-11-19 13:20:48 +01:00
|
|
|
steps {
|
2021-09-24 16:34:13 +02:00
|
|
|
sh 'make devel PYTHON=python3'
|
2019-11-21 17:09:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Building HTML documentation...') {
|
|
|
|
steps {
|
2021-09-24 16:34:13 +02:00
|
|
|
sh '/bin/bash -c "source _venv/bin/activate && pip install sphinx lxml"'
|
|
|
|
sh '/bin/bash -c "source _venv/bin/activate && cd doc && make html"'
|
2019-11-21 17:09:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Syncing website...') {
|
|
|
|
steps {
|
2021-09-24 16:34:13 +02:00
|
|
|
// sh 'rm -rf $HOME/www/*'
|
|
|
|
// sh 'cp -a ./doc/build/html/* $HOME/www/'
|
2019-11-21 17:09:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-19 13:20:48 +01:00
|
|
|
}
|
|
|
|
}
|
2021-09-24 16:34:13 +02:00
|
|
|
|