5 # designed to work on Jenkins
6 # this is a proof of concept script
8 echo
"lbnecode version: $LBNEVER"
9 echo
"lbneutil version: $LBNEUTIL"
10 echo
"base qualifiers: $QUAL"
11 echo
"build type: $BUILDTYPE"
12 echo
"workspace: $WORKSPACE"
22 # skip around a version of mrb that does not work on macOS
25 if [[
x`which
mrb | grep v1_17_02` !=
x ]]; then
35 rm -rf $WORKSPACE/temp ||
exit 1
38 rm -f $WORKSPACE/copyBack
47 # make sure we get a read-only copy
54 mv *.bz2 $WORKSPACE/copyBack/ ||
exit 1
55 ls -l $WORKSPACE/copyBack/
57 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