Win32 build: Copy an initial logfile to the webserver when the build is started

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22880 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2013-04-07 07:48:06 +00:00
parent d265eb4a6d
commit bb26969082

View File

@ -47,6 +47,14 @@ if [ `hostname` = "gnucash-win32" ]; then
rmdir "$_OUTPUT_DIR/$LOG_DIR"
fi
# If we're running on the build server, copy a temporary logfile
# content to the webserver to signal that the build is in progress
if [ `hostname` = "gnucash-win32" ]; then
_PWD=`pwd`
echo "Build for tag \"${tag}\" is in progress (current working directory: ${_PWD}) ..." > ${LOGFILE}
scp -p ${LOGFILE} upload@code.gnucash.org:public_html/win32/$LOG_DIR
fi
set +e
trap on_error ERR