Changeset 19214
- Timestamp:
- 03/20/15 12:39:41 (10 years ago)
- Location:
- issm/trunk-jpl/jenkins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/jenkins/jenkins.sh
r19213 r19214 34 34 #}}} 35 35 36 echo "-------------------------------------" 37 echo " SVN: $SVN" 38 echo "-------------------------------------" 36 #SVN version issue requires that we set SVN and SVNVERSION explicitly in order 37 #to remain compatible with the version used by Jenkins to do checkouts 38 #{{{ 39 if [[ -z $SVN ]]; then 40 echo "SVN variable is not set!" 41 echo "Defaulting to SVN found in path..." 42 SVN='svn' 43 fi 44 if [[ -z $SVNVERSION ]]; then 45 echo "SVNVERSION variable is not set!" 46 echo "Defaulting to SVNVERSION found in path..." 47 SVNVERSION='svnversion' 48 fi 49 #}}} 39 50 40 51 #install/copy/none external packages (ISSM_EXTERNALPACKAGES){{{ … … 56 67 #this, we check the current svn version against the "last changed" revision number. If they 57 68 #are the same, we reinstall the package. 58 current_version=` /usr/bin/svnversion`59 last_changed_version=` /usr/bin/svninfo $PACKAGEINST | grep "Last Changed Rev" | awk '{printf("%s\n",$4);}'`69 current_version=`$SVNVERSION` 70 last_changed_version=`$SVN info $PACKAGEINST | grep "Last Changed Rev" | awk '{printf("%s\n",$4);}'` 60 71 61 72 if [[ $current_version == $last_changed_version ]]; then … … 99 110 else 100 111 echo "======================================================"; 101 echo " Skipping install of $PACKAGENAME 112 echo " Skipping install of $PACKAGENAME "; 102 113 echo "======================================================"; 103 114 source $ISSM_DIR/etc/environment.sh #for good measure :) -
issm/trunk-jpl/jenkins/linux64_murdo
r19213 r19214 39 39 REPOSITORY="https://issm.ess.uci.edu/svn/issm/issm/trunk-jpl" 40 40 SVN='/usr/bin/svn' 41 SVNVERSION='/usr/bin/svnversion' 41 42 42 43 #-----------------------------------#
Note:
See TracChangeset
for help on using the changeset viewer.