msspec_python3/Jenkinsfile

42 lines
1.1 KiB
Groovy

pipeline {
agent {label 'msspec_agent_amd64'}
stages {
stage('Initial setup...') {
steps {
echo 'Create or update the virtual Python environment'
sh '/bin/bash ./CI/CI.bash -i ci_venv'
}
}
stage('Testing the package...') {
steps {
sh '/bin/bash ./CI/CI.bash -t ci_venv'
}
}
stage('Creating 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'
}
}
}
}