updated Jenkisfile

This commit is contained in:
Sylvain Tricot 2020-11-09 20:10:21 +01:00
parent 1f11a61888
commit 6e231ba820
1 changed files with 0 additions and 7 deletions

7
Jenkinsfile vendored
View File

@ -4,39 +4,32 @@ pipeline {
stage('Initial setup...') {
steps {
echo 'Create or update the virtual Python environment'
sh 'make venv VERBOSE=1'
}
}
stage('Build the code and generate tests results...') {
steps {
sh '. ./ci_venv/bin/activate && make -C src results VERBOSE=1 PYTHONPATH=$PWD/src'
}
}
stage('Create a setup file...') {
steps {
sh '. ~/.profile && . ./ci_venv/bin/activate && make selfex VERBOSE=1 PYTHONPATH=$PWD/src'
}
}
stage('Test installation...') {
steps {
sh '. ./ci_venv/bin/activate && cd ./package/ && ./MsSpec*.setup --accept -- -y -d'
}
}
stage('Building HTML documentation...') {
steps {
sh '. ./ci_venv/bin/activate && make doc VERBOSE=1'
}
}
stage('Syncing website...') {
steps {
echo 'Updating the website files'
}
}
stage('Cleaning up...') {
steps {
echo 'Cleaning artifacts...'
sh 'make clean VERBOSE=1'
}
}