Changeset 21194
- Timestamp:
- 09/07/16 11:34:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/jenkins.sh
r21189 r21194 143 143 echo "======================================================"; 144 144 145 # Jenkins needs to now whether the installation of externalpackages suceeded or not.146 # The majority of externalpackages populate an install directory with various files.147 # However, a few do not do this. Consequently, we need a way to confirm that these148 # packages were installed correctly. The following accomplishes this without polluting149 # installation directories.150 echo "if [ ! -d ./install ]; then" >> ./$PACKAGEINST151 echo " mkdir ./install" >> ./$PACKAGEINST152 echo "fi" >> ./$PACKAGEINST153 echo "touch ./install/SUCCESS" >> ./$PACKAGEINST154 155 145 ./$PACKAGEINST > compil.log 156 146 if [ $? -ne 0 ]; then … … 161 151 echo '<failure message="failure">External packages did not install right. Check it.</failure>' >> $EXTERNAL_TEST_FILE 162 152 echo '</testcase>' >> $EXTERNAL_TEST_FILE 163 exit 1164 153 else 165 154 echo "<testcase classname=\"externalpackages\" name=\"$PACKAGENAME\"/>" >> $EXTERNAL_TEST_FILE
Note:
See TracChangeset
for help on using the changeset viewer.