msspec_python3/Jenkinsfile

25 lines
636 B
Plaintext
Raw Normal View History

pipeline {
agent {label 'msspec_agent_amd64'}
stages {
2021-06-30 15:02:54 +02:00
stage('Building the code...') {
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 {
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-06-30 16:18:47 +02:00
sh 'whoami'
2021-06-30 16:12:48 +02:00
sh 'rm -rf $HOME/www/*'
sh 'cp -a ./doc/build/html/* $HOME/www/'
2019-11-21 17:09:19 +01:00
}
}
}
}