5 # designed to work on Jenkins
6 # this is a proof of concept script
8 echo
"lbneutil version: $LBNEUTILVER"
9 echo
"base qualifiers: $QUAL"
10 echo
"build type: $BUILDTYPE"
11 echo
"workspace: $WORKSPACE"
21 # skip around a version of mrb that does not work on macOS
24 if [[
x`which
mrb | grep v1_17_02` !=
x ]]; then
34 rm -rf $WORKSPACE/temp ||
exit 1
37 rm -f $WORKSPACE/copyBack
46 # make sure we get a read-only copy
47 mrb g -
r -t $LBNEUTILVER lbneutil ||
exit 1
52 mv *.bz2 $WORKSPACE/copyBack/ ||
exit 1
53 ls -l $WORKSPACE/copyBack/
55 rm -rf $WORKSPACE/temp ||
exit 1
then source grid fermiapp products dune setup_dune_fermiapp sh exit else echo No setup file found exit fi setup
process_name opflash particleana ie x
then cvmfs grid cern ch util cvmfs uptodate cvmfs uboone opensciencegrid org products fi source cvmfs uboone opensciencegrid org products setup_uboone sh exit else echo No setup file found exit fi if!uname grep q Darwin
then setup git exit fi setup gitflow exit export MRB_PROJECT
then echo Invalid dCache scratch not copying back else ifdh ls
then echo fcl sbnd_project sbnd_project sbnd_project sbnd_project software