msspec_python3/Jenkinsfile

45 lines
1.2 KiB
Plaintext
Raw Normal View History

pipeline {
agent {label 'msspec_agent_amd64'}
stages {
stage('Initial setup...') {
steps {
echo 'Create or update the virtual Python environment'
sh 'make venv VERBOSE=1'
}
}
2019-11-21 17:09:19 +01:00
stage('Build the code and generate tests results...') {
2019-11-21 17:09:19 +01:00
steps {
sh '. ./ci_venv/bin/activate && make -C src results VERBOSE=1'
2019-11-21 17:09:19 +01:00
}
}
stage('Create a setup file...') {
2019-11-21 17:09:19 +01:00
steps {
sh '. .profile && make selfex VERBOSE=1'
}
}
stage('Test installation...') {
steps {
sh '. ./ci_venv/bin/activate && cd ./package/ && ./MsSpec*.setup --accept -- -y -d'
2019-11-21 17:09:19 +01:00
}
}
stage('Building HTML documentation...') {
steps {
sh '. ./ci_venv/bin/activate && make doc VERBOSE=1'
2019-11-21 17:09:19 +01:00
}
}
stage('Syncing website...') {
steps {
echo 'Updating the website files'
}
}
stage('Cleaning up...') {
steps {
echo 'Cleaning artifacts...'
sh 'make clean VERBOSE=1'
2019-11-21 17:09:19 +01:00
}
}
}
}