Skip to content

Commit

Permalink
upload comparison in the base_ib area
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Feb 16, 2018
1 parent 8585c81 commit 541e8b7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run-pr-comparisons
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ echo "Finished downloading files at `date`:"

get_jenkins_artifacts ${PR_BASELINE_JOBDIR}/testsResults.txt $WORKSPACE/results/testsResults.txt
sed -i "s/COMPARISON;QUEUED/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 Expand Up @@ -290,7 +292,7 @@ if [ -e results/files ] ; then
done
fi
[ -e comparisonDetails.txt ] && mv comparisonDetails.txt upload/
send_jenkins_artifacts $WORKSPACE/upload/ baseLineComparisons/${RELEASE_FORMAT}+${PULL_REQUEST_NUMBER}/${BUILD_NUMBER}/
send_jenkins_artifacts $WORKSPACE/upload/ baseLineComparisons/${BASE_IB}+${PULL_REQUEST_NUMBER}/${BUILD_NUMBER}/
if [ -e $WORKSPACE/results/testsResults.txt ] ; then
sed -i "s/COMPARISON;.*/COMPARISON;$BUILD_NUMBER/g" $WORKSPACE/results/testsResults.txt
send_jenkins_artifacts $WORKSPACE/results/testsResults.txt ${PR_BASELINE_JOBDIR}/testsResults.txt
Expand Down

0 comments on commit 541e8b7

Please sign in to comment.