- Timestamp:
- Aug 10, 2010, 11:50:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
misc/scripts/gscf_continuous_integration.sh
r759 r800 64 64 # get svn revision of HEAD and running application 65 65 cd $PATH_GRAILS_SOURCE 66 $SVN revert --recursive --quiet . 67 SVN_REVISION=`$SVN update | sed -n 's/At revision \(.*\)\./\1/p'` 66 $SVN revert --recursive --quiet * 67 $SVN update * --quiet * 68 SVN_REVISION=`$SVN update . | sed -n 's/At revision \(.*\)\./\1/p'` 68 69 RUNNING_REVISION=`cat $TEMP/$PROJECT.revision` 69 70 … … 150 151 sed -i 's/<\/b>/<\/b> \(<font color="red">svn revision: '$SVN_REVISION', deployed at: '$STAMP'<\/font>\)/g' grails-app/views/home/index.gsp 151 152 sed -i 's/Welcome to GSCF version/Welcome to the <b>continuous integration build<\/b> of GSCF/g' grails-app/views/home/index.gsp 152 153 # build new war154 echo $STAMP building new war...155 grails prod war > /dev/null156 153 157 154 # stop tomcat … … 169 166 done 170 167 168 # build new war 169 echo $STAMP building new war... 170 grails prod war > /dev/null 171 171 172 # undeploying gscf releases 172 173 rm -rf $PATH_TOMCAT_WEBAPPS/gscf*
Note: See TracChangeset
for help on using the changeset viewer.