Changeset 25964


Ignore:
Timestamp:
02/01/21 15:21:01 (4 years ago)
Author:
jdquinn
Message:

CHG: Trying to bring jUnit reports back online for examples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/jenkins/jenkins.sh

    r25959 r25964  
    485485                exit 1
    486486        fi
    487 
    488         # Python tests must have run and exited successfully (unless we have missed something)
    489         echo "PYTHONEXITEDCORRECTLY"
    490487fi
    491488
     
    501498                juLog -test=Example-$i -name=Failure -error=FAILURE awk "/starting: $i/{flag=1;next}/finished: $i/{flag=0} flag{print}" matlab_log_examples.log
    502499        done
     500
     501        # Check that MATLAB did not exit in error
     502        matlabExitedInError=`grep -E "Activation cannot proceed|Error in matlab_run|Illegal use of reserved keyword" matlab_log_examples.log | wc -l`
     503
     504        if [ $matlabExitedInError -ne 0 ]; then
     505                echo "----------MATLAB exited in error!----------"
     506                cat matlab_log_examples.log
     507                echo "-----------End of matlab_log.log-----------"
     508
     509                # Clean up execution directory
     510                rm -rf $ISSM_DIR/execution/*
     511
     512                exit 1
     513        fi
    503514fi
    504515
Note: See TracChangeset for help on using the changeset viewer.