Changeset 21115


Ignore:
Timestamp:
08/09/16 13:00:19 (9 years ago)
Author:
glperez
Message:

FIX: log files were not being created right. This is due to a bad file name.

File:
1 edited

Legend:

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

    r21114 r21115  
    357357                                ./Download.sh
    358358                        else
     359                                LOG_FILE="matlab_log_$(basename dir)_examples.log"
    359360                                echo "disp('SUCCESS');" >> $FILE
    360361                                echo 'catch me' >> $FILE
     
    365366                                echo "starting: ${dir}"
    366367
    367                                 $MATLAB_PATH/bin/matlab -nosplash -nodisplay -r "addpath $ISSM_DIR/src/m/dev; devpath; addpath $ISSM_DIR/nightlylog/; runme" -logfile $ISSM_DIR/nightlylog/matlab_log${dir}_examples.log
    368                                 cat $ISSM_DIR/nightlylog/matlab_log${dir}_examples.log >> $ISSM_DIR/nightlylog/matlab_log_examples.log
     368                                $MATLAB_PATH/bin/matlab -nosplash -nodisplay -r "addpath $ISSM_DIR/src/m/dev; devpath; addpath $ISSM_DIR/nightlylog/; runme" -logfile $ISSM_DIR/nightlylog/$LOG_FILE
     369                                cat $ISSM_DIR/nightlylog/$LOG_FILE >> $ISSM_DIR/nightlylog/matlab_log_examples.log
    369370                        fi
    370371                        cd ..
Note: See TracChangeset for help on using the changeset viewer.