diff --git a/Jenkinsfile_numerics_mpi b/Jenkinsfile_numerics_mpi index 8fce3aae6f6d8e200d5896b7b6cad10c24427505..3ebb1ded2e4157ceaba06915079de28d01f4a942 100644 --- a/Jenkinsfile_numerics_mpi +++ b/Jenkinsfile_numerics_mpi @@ -24,7 +24,7 @@ parallel ( stage ('build_centos') { - sh "./build.sh $WORKSPACE $NODE_NAME numerics numerics 0" + sh "./build.sh $WORKSPACE $NODE_NAME numerics numerics $BRANCH_NAME" } stage ('run_gin') @@ -65,7 +65,7 @@ parallel ( stage ('build mac') { - sh "./build.sh $WORKSPACE $NODE_NAME numerics numerics 0" + sh "./build.sh $WORKSPACE $NODE_NAME numerics numerics $BRANCH_NAME" } stage ('run mac') @@ -103,7 +103,7 @@ parallel ( stage ('build ubuntu') { - sh "./build.sh $WORKSPACE $NODE_NAME numerics numerics 0" + sh "./build.sh $WORKSPACE $NODE_NAME numerics numerics $BRANCH_NAME" } stage ('run ubuntu') diff --git a/build.sh b/build.sh index 7f9b0f4627c09eca3b68f236ddc9bee362f465a1..cf89686329a5cfe5f4db73cee6b34b183658de09 100755 --- a/build.sh +++ b/build.sh @@ -14,9 +14,9 @@ echo "make target: $target" echo "compilation type: $comp_type" echo "Branch name: $branch" +rm -rf $HOME/openfpm_dependencies/openfpm_pdata/0 if [ x"$hostname" == x"cifarm-centos-node.mpi-cbg.de" ]; then - #we retest PETSC installation ./install_MPI_mpich.sh $HOME/openfpm_dependencies/openfpm_pdata/$branch/ 4 echo 4 > $HOME/openfpm_dependencies/openfpm_pdata/$branch/MPI/version fi