Skip to content

Commit

Permalink
use base ib instead of comparison ib
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 16, 2018
1 parent b8c7e0f commit 8a5195f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions run-pr-comparisons
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ WFS_WITH_ERRORS=''

MAPPING_FILE=wf_mapping.txt
get_jenkins_artifacts ${BASELINE_DIR}/$MAPPING_FILE $WORKSPACE/$MAPPING_FILE
get_jenkins_artifacts ${PR_BASELINE_JOBDIR}/testsResults.txt $WORKSPACE/results/testsResults.txt
BASE_IB=$(grep '^BASE_IB;' $WORKSPACE/results/testsResults.txt | sed 's|.*;||')
if [ "X${BASE_IB}" = "X" ] ; then BASE_IB=$RELEASE_FORMAT ; fi

ERRORS_FILE=wf_errors.txt
get_jenkins_artifacts ${BASELINE_DIR}/$ERRORS_FILE $WORKSPACE/$ERRORS_FILE
Expand Down Expand Up @@ -59,9 +62,9 @@ cat /proc/cpuinfo | grep "model name" >> $DETAILS_FILE
ls /cvmfs/cms-ib.cern.ch || true
export SCRAM_ARCH=$ARCHITECTURE
echo "Set up release area at `date`"
scram project $RELEASE_FORMAT
scram project $BASE_IB
set +x
cd $RELEASE_FORMAT
cd $BASE_IB
eval `scram run -sh`
if [ -e $CMSSW_RELEASE_BASE/src/Utilities/RelMon ] ; then
mkdir -p src/Utilities/RelMon
Expand Down Expand Up @@ -119,10 +122,7 @@ echo $WFS_WITH_DAS_INCONSISTENCY >> $WORKSPACE/$DAS_NON_CONSISTENT_WFS_FILE

echo "Finished downloading files at `date`:"

get_jenkins_artifacts ${PR_BASELINE_JOBDIR}/testsResults.txt $WORKSPACE/results/testsResults.txt
sed -i "s/COMPARISON;.*/COMPARISON;RUNNING/g" $WORKSPACE/results/testsResults.txt
BASE_IB=$(grep '^BASE_IB;' $WORKSPACE/results/testsResults.txt | sed 's|.*;||')
if [ "X${BASE_IB}" = "X" ] ; then BASE_IB=$RELEASE_FORMAT ; fi
send_jenkins_artifacts $WORKSPACE/results/testsResults.txt ${PR_BASELINE_JOBDIR}/testsResults.txt

# --------------------------------------------------------------------------
Expand Down

0 comments on commit 8a5195f

Please sign in to comment.