Skip to content

Commit

Permalink
Merge pull request cms-sw#147 from nclopezo/change-comparisons-url
Browse files Browse the repository at this point in the history
Comparisons: Results url changed to support the use of the latest IB ava...
  • Loading branch information
nclopezo committed Oct 14, 2014
2 parents b78ce00 + f9555b2 commit 1f7ad4f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion run-pr-comparisons
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@ WF_NAME_1306_0='1306.0_SingleMuPt1_UP15+SingleMuPt1_UP15+DIGIUP15+RECOUP15+HARVE

WORKFLOWS_TO_COMPARE=$WF_NAME_4_22,$WF_NAME_4_53,$WF_NAME_5_1,$WF_NAME_8_0,$WF_NAME_25_0,$WF_NAME_1000_0,$WF_NAME_1306_0

export SCRAM_ARCH=$ARCHITECTURE

if [[ $RELEASE_FORMAT != *-* ]]; then
RELEASE_FORMAT=`scram l -c $RELEASE_FORMAT | tail -1 | awk '{print $2}'`
fi

export SCRAM_ARCH=$ARCHITECTURE
DETAILS_FILE=$WORKSPACE/'comparisonDetails.txt'
echo 'BASE_IB;'$RELEASE_FORMAT >> $DETAILS_FILE
echo 'PR_NUMBER;'$PULL_REQUEST >> $DETAILS_FILE
echo 'ADDITIONAL_PRS;'$ADDITIONAL_PULL_REQUESTS >> $DETAILS_FILE
echo 'ARCHITECTURE;'$ARCHITECTURE >> $DETAILS_FILE

scram project $RELEASE_FORMAT
cd $RELEASE_FORMAT
eval `scram run -sh`
Expand Down
2 changes: 1 addition & 1 deletion templates/js/renderPRTests.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ getResultRow = function( resultsDict , resultsKey ){
}else if( resultsKey == COMPARISON_KEY ){

column2Label = 'See Comparison Results'
linkURL = BASE_COMPARISONS_URL + resultsDict[ BASE_IB_KEY ] + '+' + resultsDict[ PR_NUMBER_KEY ] + '/' + testResult + '/'
linkURL = BASE_COMPARISONS_URL + resultsDict[ PR_NUMBER_KEY ] + '/' + testResult + '/'

}

Expand Down

0 comments on commit 1f7ad4f

Please sign in to comment.