2019-11-19 13:20:48 +01:00
|
|
|
pipeline {
|
|
|
|
agent {label 'msspec_agent_amd64'}
|
|
|
|
stages {
|
|
|
|
stage('Initial setup...') {
|
|
|
|
steps {
|
|
|
|
echo 'Create or update the virtual Python environment'
|
2019-11-21 17:09:19 +01:00
|
|
|
sh '/bin/bash ./CI/CI.bash -i ci_venv'
|
2019-11-19 13:20:48 +01:00
|
|
|
}
|
|
|
|
}
|
2019-11-21 17:09:19 +01:00
|
|
|
|
|
|
|
stage('Testing the package...') {
|
|
|
|
steps {
|
|
|
|
sh '/bin/bash ./CI/CI.bash -t ci_venv'
|
|
|
|
}
|
|
|
|
}
|
2019-11-27 14:09:55 +01:00
|
|
|
stage('Creating a setup file and test installation...') {
|
2019-11-21 17:09:19 +01:00
|
|
|
steps {
|
|
|
|
sh '/bin/bash ./CI/CI.bash -p ci_venv'
|
|
|
|
sh '/bin/bash ./package/MsSpec*.setup --accept -- -p ./ci_venv -y'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Building HTML documentation...') {
|
|
|
|
steps {
|
|
|
|
sh '/bin/bash ./CI/CI.bash -d ci_venv'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Syncing website...') {
|
|
|
|
steps {
|
|
|
|
echo 'Updating the website files'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Cleaning up...') {
|
|
|
|
steps {
|
|
|
|
echo 'Cleaning artifacts...'
|
|
|
|
sh 'rm -rf ./package'
|
|
|
|
sh 'cd ./doc && make clean'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-19 13:20:48 +01:00
|
|
|
}
|
|
|
|
}
|