[SCM] ci-tooling packaging branch, master, updated. aa25c8d81afe6e8b90776e0d4a36e8a512b1043b
Rohan Garg
rohangarg-guest at moszumanska.debian.org
Fri Nov 27 00:20:38 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=aa25c8d
The following commit has been merged in the master branch:
commit aa25c8d81afe6e8b90776e0d4a36e8a512b1043b
Author: Rohan Garg <rohan at garg.io>
Date: Fri Nov 27 01:20:16 2015 +0100
Exit with proper error code
---
ci/imager.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ci/imager.rb b/ci/imager.rb
index e556f40..e03334a 100755
--- a/ci/imager.rb
+++ b/ci/imager.rb
@@ -13,7 +13,7 @@ begin
Dir.chdir('live-config') do
system('make clean')
system('./configure')
- fail 'Failed to build image!' unless system('make')
+ ec = system('make')
FileUtils.cp_r(Dir.glob('live*'), '../result', verbose: true)
FileUtils.cp_r(Dir.glob('logfile*'), '../result', verbose: true)
end
@@ -35,3 +35,5 @@ ensure
FileUtils.chown_R('jenkins', 'jenkins', Dir.pwd, verbose: true)
end
end
+
+exit ec
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list