2019-11-19 13:20:48 +01:00
|
|
|
pipeline {
|
|
|
|
agent {label 'msspec_agent_amd64'}
|
|
|
|
stages {
|
2021-06-30 15:02:54 +02:00
|
|
|
stage('Building the code...') {
|
2019-11-19 13:20:48 +01:00
|
|
|
steps {
|
2021-06-30 15:34:34 +02:00
|
|
|
sh 'make devel PYTHON=python3'
|
2019-11-21 17:09:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Building HTML documentation...') {
|
|
|
|
steps {
|
2021-06-30 15:25:14 +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-07-05 17:50:49 +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
|
|
|
}
|
|
|
|
}
|