Changeset 27708
- Timestamp:
- 04/26/23 14:32:30 (2 years ago)
- Location:
- issm/trunk-jpl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/jenkins.sh
r27613 r27708 450 450 if [ $EXAMPLES_TEST -eq 1 ]; then 451 451 export MATLAB_PATH 452 453 # Download examples datasets if they are not already present 454 if [[ -z $(ls -A1q $ISSM_DIR/examples/Data) ]]; then 455 $ISSM_DIR/scripts/DownloadExamplesDatasets.sh 456 fi 457 452 458 $ISSM_DIR/jenkins/examples_tests.sh 453 459 fi -
issm/trunk-jpl/scripts/DownloadExamplesDatasets.sh
r26190 r27708 25 25 fi 26 26 27 # Get content of page that hosts datasets, reduce to just datasets list, then 27 # Get content of page that hosts datasets, reduce to just datasets list, then 28 28 # parse out dataset links 29 # 30 # NOTE: Clear DYLD_LIBRARY_PATH in case we have installed our own copy of cURL 31 # and $ISSM_DIR/etc/environment.sh has been sourced as there may be a 32 # conflict between versions of cURL executable and libcurl 33 # 29 34 dataset_urls=$(\ 35 DYLD_LIBRARY_PATH=""; \ 30 36 curl -Ls ${DATASETS_URL} |\ 31 37 sed '/<!--DATASETS LIST START-->/,/<!--DATASETS LIST END-->/ !d' |\ … … 34 40 35 41 # Get datasets 36 wget --no-clobber --directory-prefix="${DIRECTORY_PREFIX}" -i - <<< "${dataset_urls}" 42 # 43 echo "Downloading examples datasets..." 44 wget --quiet --no-clobber --directory-prefix="${DIRECTORY_PREFIX}" -i - <<< "${dataset_urls}" 37 45 38 46 # Expand zip files
Note:
See TracChangeset
for help on using the changeset viewer.