Changeset 25979
- Timestamp:
- 02/04/21 13:34:08 (4 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 4 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/shell2junit/install.sh
r25978 r25979 3 3 4 4 5 # Some cleanup6 rm -rf install 7 mkdir install 5 ## Constants 6 # 7 VER="1.0.0" 8 8 9 cp patch/sh2ju.sh install/ 9 PREFIX="${ISSM_EXT_DIR}/shell2junit/install" # Set to location where external package should be installed 10 11 # Cleanup 12 rm -rf ${PREFIX} 13 mkdir -p ${PREFIX}/bin 14 15 # Download source 16 $ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/shell2junit-${VER}.zip" "shell2junit-${VER}.zip" 17 18 # Unpack source 19 unzip -q shell2junit-${VER}.zip 20 21 # Install 22 mv shell2junit-${VER}/sh2ju.sh ${PREFIX}/bin 23 24 # Cleanup 25 rm -rf shell2junit-${VER} -
issm/trunk-jpl/jenkins/jenkins.sh
r25977 r25979 431 431 #process logs to be junit compatible 432 432 #{{{ 433 cd $ISSM_DIR/nightlylog /434 source $ISSM_ DIR/externalpackages/shell2junit/install/bin/sh2ju.sh433 cd $ISSM_DIR/nightlylog 434 source $ISSM_EXT_DIR/shell2junit/install/bin/sh2ju.sh 435 435 juLogClean 436 436 … … 440 440 testlist=`cat matlab_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g' | sed 's/-//g'` 441 441 442 # look through numtests:442 # NOTE: Matching pattern is "----------------starting:<TEST_NUM>-". Note trailing hyphen, which guards against greedy matching of, for example, "2010" when searching for "201". 443 443 for i in `echo $testlist`; do 444 juLog -test=MATLAB-$i -name=Error -error=ERROR awk "/ ^starting:${i}$/{flag=1;next}/^finished:${i}$/{flag=0} flag{print}" matlab_log.log445 juLog -test=MATLAB-$i -name=Failure -error=FAILURE awk "/ ^starting:${i}$/{flag=1;next}/^finished:${i}$/{flag=0} flag{print}" matlab_log.log444 juLog -test=MATLAB-$i -name=Error -error=ERROR awk "/starting:${i}-/{flag=1;next}/finished:${i}-/{flag=0} flag{print}" matlab_log.log 445 juLog -test=MATLAB-$i -name=Failure -error=FAILURE awk "/starting:${i}-/{flag=1;next}/finished:${i}-/{flag=0} flag{print}" matlab_log.log 446 446 done 447 447 … … 466 466 testlist=`cat python_log.log | grep "\-\-\-\-\-\-\-\-starting" | sed 's/----------------starting://g' | sed 's/-//g'` 467 467 468 # look through numtests:468 # NOTE: Matching pattern is "----------------starting:<TEST_NUM>-". Note trailing hyphen, which guards against greedy matching of, for example, "2010" when searching for "201". 469 469 for i in `echo $testlist`; do 470 juLog -test=PYTHON-$i -name=Error -error=ERROR awk "/ ^starting:${i}$/{flag=1;next}/^finished:${i}$/{flag=0} flag{print}" python_log.log471 juLog -test=PYTHON-$i -name=Failure -error=FAILURE awk "/ ^starting:${i}$/{flag=1;next}/^finished:${i}$/{flag=0} flag{print}" python_log.log470 juLog -test=PYTHON-$i -name=Error -error=ERROR awk "/starting:${i}-/{flag=1;next}/finished:${i}-/{flag=0} flag{print}" python_log.log 471 juLog -test=PYTHON-$i -name=Failure -error=FAILURE awk "/starting:${i}-/{flag=1;next}/finished:${i}-/{flag=0} flag{print}" python_log.log 472 472 done 473 473
Note:
See TracChangeset
for help on using the changeset viewer.