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:50:08 +02:00
|
|
|
sh 'make doc PYTHON=python3'
|
2019-11-21 17:09:19 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Syncing website...') {
|
|
|
|
steps {
|
2021-09-24 17:02:03 +02:00
|
|
|
// echo 'Syncing website...'
|
2021-09-27 14:17:25 +02:00
|
|
|
// sh 'rm -rf $HOME/www/*'
|
2021-09-24 17:02:03 +02:00
|
|
|
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
|
|
|
|