Skip to content

Commit

Permalink
Merge pull request #34 from rlcee/210701b
Browse files Browse the repository at this point in the history
fix tarballs on jenkins
  • Loading branch information
rlcee authored Jul 2, 2021
2 parents cbe68e5 + 7a0228a commit 950f0f2
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bin/museTest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,14 @@ museTest_full(){
exit 1
fi

if [ ! -d /mu2e/data/users/$USER ]; then
TARSWITCHES=" -e $PWD -t $PWD "
else
TARSWITCHES=""
fi

echo "[$(date)] making tar1"
muse tarball >& tar1.log
muse tarball $TARSWITCHES >& tar1.log
RC=$?
if [ $RC -ne 0 ]; then
echo "[$(date)] tar1 failed with RC=$RC"
Expand All @@ -76,7 +82,7 @@ museTest_full(){
fi

echo "[$(date)] making tar2"
muse tarball -r Offline/v00 >& tar2.log
muse tarball $TARSWITCHES -r Offline/v00 >& tar2.log
RC=$?
if [ $RC -ne 0 ]; then
echo "[$(date)] tar failed with RC=$RC"
Expand Down

0 comments on commit 950f0f2

Please sign in to comment.