now jenkins build is no longer affected by a previous broken build

This commit is contained in:
Guillaume Raffy 2019-10-01 12:45:22 +02:00
parent 41c9263f81
commit 78c8749aba
3 changed files with 5 additions and 3 deletions

4
Jenkinsfile vendored
View File

@ -4,6 +4,8 @@ pipeline {
stage('Initial setup...') {
steps {
echo 'Initial setup...'
// erase old builds if anything is left
sh './scripts/cleanup.bash'
sh './scripts/install_fiji.bash'
sh 'export FIJI_ROOT_PATH=$(pwd)/Fiji.app; ./scripts/install_lipase_in_fiji.bash'
// echo 'Create or update the virtual Python environment'
@ -31,7 +33,7 @@ pipeline {
stage('Cleaning up...') {
steps {
echo 'Cleaning artifacts...'
sh './scripts/uninstall_fiji.bash'
sh './scripts/cleanup.bash'
// sh 'rm -rf ./install_resources'
// sh 'cd ./src/doc && make clean'
}

2
scripts/cleanup.bash Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
rm -Rf './Fiji.app'

View File

@ -1,2 +0,0 @@
#!/bin/bash
rm -R './Fiji.app'