[X2Go-Commits] [buildscripts] 01/01: Make the jenkins builds fail if the actual build commands failed

git-admin at x2go.org git-admin at x2go.org
Fri Jul 11 13:57:23 CEST 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 4fe71d24011d449e62d04dcae1d8149834a36276
Author: Mike DePaulo <mikedep333 at gmail.com>
Date:   Tue Jul 8 22:13:15 2014 -0400

    Make the jenkins builds fail if the actual build commands failed
---
 bin/nsis-builder.bat |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/nsis-builder.bat b/bin/nsis-builder.bat
index f59483e..01e9d2b 100644
--- a/bin/nsis-builder.bat
+++ b/bin/nsis-builder.bat
@@ -8,8 +8,8 @@ cd D:\Build\GIT\nightly\x2goclient
 rem use msysgit's sed
 rem enable debug
 if "%1"=="--console" sed -i 's/#CONFIG += console/CONFIG += console/' x2goclient.pro
-%COMSPEC% /c config_win.bat
-mingw32-make
+%COMSPEC% /c config_win.bat || exit /b %errorlevel%
+mingw32-make || exit /b %errorlevel%
 dir release\x2goclient.exe
 rmdir /s /q nsis\x2goclient
 cd nsis
@@ -17,6 +17,6 @@ mkdir x2goclient
 xcopy /S D:\Build\scripts\current_files\x2goclient x2goclient
 copy ..\release\x2goclient.exe x2goclient\
 upx x2goclient\x2goclient.exe
-makensis x2goclient.nsi
+makensis x2goclient.nsi || exit /b %errorlevel%
 
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list