2019-03-07 10:56:01 +01:00
|
|
|
pipeline {
|
2019-03-21 15:44:17 +01:00
|
|
|
agent {label 'physix_agent'}
|
2019-03-07 10:56:01 +01:00
|
|
|
stages {
|
|
|
|
stage('Initial setup...') {
|
|
|
|
steps {
|
|
|
|
echo 'Initial setup...'
|
2019-07-17 16:56:05 +02:00
|
|
|
sh './scripts/install_fiji.bash'
|
2019-09-30 16:04:30 +02:00
|
|
|
sh 'export FIJI_ROOT_PATH=$(pwd)/Fiji.app; ./scripts/install_lipase_in_fiji.bash'
|
2019-03-07 11:33:59 +01:00
|
|
|
// echo 'Create or update the virtual Python environment'
|
|
|
|
// sh '/bin/bash ./src/CI/CI.bash -i ci_venv'
|
2019-03-07 10:56:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Testing the package...') {
|
|
|
|
steps {
|
2019-07-17 16:56:05 +02:00
|
|
|
sh './tests/test0001.bash'
|
2019-03-07 10:56:01 +01:00
|
|
|
}
|
|
|
|
}
|
2019-07-17 16:56:05 +02:00
|
|
|
// stage('Building HTML documentation...') {
|
|
|
|
// steps {
|
|
|
|
// echo 'Building HTML documentation...'
|
|
|
|
// // sh '/bin/bash ./src/CI/CI.bash -d ci_venv'
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// stage('Releasing package...') {
|
|
|
|
// steps {
|
|
|
|
// echo 'Releasing package...'
|
|
|
|
// // sh 'rm -rf $HOME/www/*'
|
|
|
|
// // sh 'cp -a ./src/doc/build/html/* $HOME/www/'
|
|
|
|
// }
|
|
|
|
// }
|
2019-03-07 10:56:01 +01:00
|
|
|
stage('Cleaning up...') {
|
|
|
|
steps {
|
|
|
|
echo 'Cleaning artifacts...'
|
2019-07-17 16:56:05 +02:00
|
|
|
sh './scripts/uninstall_fiji.bash'
|
2019-03-07 11:33:59 +01:00
|
|
|
// sh 'rm -rf ./install_resources'
|
|
|
|
// sh 'cd ./src/doc && make clean'
|
2019-03-07 10:56:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|