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