msspec_python3/Jenkinsfile

42 lines
1.1 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'
2019-11-21 17:09:19 +01:00
sh '/bin/bash ./CI/CI.bash -i ci_venv'
}
}
2019-11-21 17:09:19 +01:00
stage('Testing the package...') {
steps {
sh '/bin/bash ./CI/CI.bash -t ci_venv'
}
}
stage('Creatin a setup file and test installation...') {
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'
}
}
}
}