fixing jenkins

This commit is contained in:
rusefi 2018-01-23 14:22:53 -05:00
parent cc55abb3be
commit eb8cbaf282
1 changed files with 12 additions and 1 deletions

View File

@ -1,9 +1,17 @@
# depends on
# mkdir -p C:\stuff\rusefi.git2svn\git
# cd C:\stuff\rusefi.git2svn\git
# git clone https://github.com/rusefi/rusefi
# cd C:\stuff\rusefi.git2svn\git\rusefi
#
#
echo This script should be executed from the root of rusEfi master GITHUB local copy echo This script should be executed from the root of rusEfi master GITHUB local copy
pwd pwd
echo Updating from SVN echo Updating from GIT
call git fetch --all call git fetch --all
call git reset --hard origin/master call git reset --hard origin/master
IF NOT ERRORLEVEL echo ERROR git pull-ing IF NOT ERRORLEVEL echo ERROR git pull-ing
@ -15,7 +23,10 @@ set RUSEFI_SVN_W_PATH=..\..\svn
set RUSEFI_GIT_PATH=../git/rusefi set RUSEFI_GIT_PATH=../git/rusefi
mkdir -p %RUSEFI_SVN_PATH%"
echo "Going to %RUSEFI_SVN_PATH%"
cd %RUSEFI_SVN_PATH% cd %RUSEFI_SVN_PATH%
echo Updating from SVN
svn up svn up
cd %RUSEFI_GIT_PATH% cd %RUSEFI_GIT_PATH%