Changeset 25977


Ignore:
Timestamp:
02/03/21 21:00:43 (4 years ago)
Author:
jdquinn
Message:

CHG: New install script; clean up

Location:
issm/trunk-jpl
Files:
4 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/externalpackages/shell2junit/install.sh

    r16629 r25977  
    33
    44
    5 #Some cleanup
    6 rm -rf install
    7 mkdir install
     5## Constants
     6#
     7VER="1.0.0"
    88
    9 cp patch/sh2ju.sh install/
     9PREFIX="${ISSM_DIR}/externalpackages/shell2junit/install" # Set to location where external package should be installed
     10
     11# Cleanup
     12rm -rf ${PREFIX}
     13mkdir -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
     19unzip -q shell2junit-${VER}.zip
     20
     21# Install
     22mv shell2junit-${VER}/sh2ju.sh ${PREFIX}/bin
     23
     24# Cleanup
     25rm -rf shell2junit-${VER}
  • issm/trunk-jpl/jenkins/jenkins.sh

    r25966 r25977  
    432432#{{{
    433433cd $ISSM_DIR/nightlylog/
    434 source $ISSM_DIR/externalpackages/shell2junit/install/sh2ju.sh
     434source $ISSM_DIR/externalpackages/shell2junit/install/bin/sh2ju.sh
    435435juLogClean
    436436
     
    442442        #look through numtests:
    443443        for i in `echo $testlist`; do
    444                 juLog -test=MATLAB-$i -name=Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log
    445                 juLog -test=MATLAB-$i -name=Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" matlab_log.log
     444                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
    446446        done
    447447
     
    468468        #look through numtests:
    469469        for i in `echo $testlist`; do
    470                 juLog -test=PYTHON-$i -name=Error -error=ERROR awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log
    471                 juLog -test=PYTHON-$i -name=Failure -error=FAILURE awk "/starting:$i/{flag=1;next}/finished/{flag=0} flag{print}" python_log.log
     470                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
    472472        done
    473473
     
    495495
    496496        for i in `echo $testlist`; do
    497                 juLog -test=Example-$i -name=Error -error=ERROR awk "/starting: $i/{flag=1;next}/finished: $i/{flag=0} flag{print}" matlab_log_examples.log
    498                 juLog -test=Example-$i -name=Failure -error=FAILURE awk "/starting: $i/{flag=1;next}/finished: $i/{flag=0} flag{print}" matlab_log_examples.log
     497                juLog -test=Example-$i -name=Error -error=ERROR awk "/^starting: ${i}$/{flag=1;next}/^finished: ${i}$/{flag=0} flag{print}" matlab_log_examples.log
     498                juLog -test=Example-$i -name=Failure -error=FAILURE awk "/^starting: ${i}$/{flag=1;next}/^finished: ${i}$/{flag=0} flag{print}" matlab_log_examples.log
    499499        done
    500500
Note: See TracChangeset for help on using the changeset viewer.