This repository was archived by the owner on May 12, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ SET M2_HOME=
66SET MAVEN_OPTS = -XX:MaxPermSize=2g -Xmx4g
77SET JAVA_OPTS = -XX:MaxPermSize=2g -Xmx4g
88SET PATH = C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME% \bin;C:\Program Files\OpenSSH\bin;%PATH%
9- mvn %*
9+ call mvn %*
10+ echo %errorlevel% 1 > C:\Users\postgres\src\target\exit-code.txt
Original file line number Diff line number Diff line change @@ -27,9 +27,17 @@ install:
2727 - cmd : SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;C:\Program Files\OpenSSH\bin;%PATH%
2828 - cmd : SET RSAKEY=C:\Program Files\OpenSSH\etc\ssh_host_rsa_key
2929build_script :
30- - ssh.exe -i "%RSAKEY%" -oStrictHostKeyChecking=no postgres@localhost "cd ~/src && cmd /c .appveyor-run-mvn.bat clean install -B -DskipTests -Djna.nosys=true" & exit %ERRORLEVEL%
30+ - ssh.exe -i "%RSAKEY%" -oStrictHostKeyChecking=no postgres@localhost "cd ~/src && cmd /c .appveyor-run-mvn.bat clean install -B -DskipTests -Djna.nosys=true"
31+ - echo errorlevel=%ERRORLEVEL%
32+ - set /p EXITCODE=<C:\Users\postgres\src\target\exit-code.txt
33+ - echo exitcode=%EXITCODE%
34+ - exit %EXITCODE%
3135test_script :
32- - ssh.exe -i "%RSAKEY%" -oStrictHostKeyChecking=no postgres@localhost "cd ~/src && cmd /c .appveyor-run-mvn.bat clean install -B -Djna.nosys=true" & exit %ERRORLEVEL%
36+ - ssh.exe -i "%RSAKEY%" -oStrictHostKeyChecking=no postgres@localhost "cd ~/src &&cmd /c .appveyor-run-mvn.bat clean install -B -Djna.nosys=true"
37+ - echo errorlevel=%ERRORLEVEL%
38+ - set /p EXITCODE=<C:\Users\postgres\src\target\exit-code.txt
39+ - echo exitcode=%EXITCODE%
40+ - exit %EXITCODE%
3341cache :
3442 - C:\openssh\
3543 - C:\maven\
You can’t perform that action at this time.
0 commit comments