[SCM] ci-tooling packaging branch, master, updated. a49c422aaa96104ffee2a94d4160f39753afb0ff
Rohan Garg
rohangarg-guest at moszumanska.debian.org
Tue Nov 17 14:46:42 UTC 2015
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=a49c422
The following commit has been merged in the master branch:
commit a49c422aaa96104ffee2a94d4160f39753afb0ff
Author: Rohan Garg <rohan at garg.io>
Date: Tue Nov 17 15:46:08 2015 +0100
Make sure we chown even on SIGTERM
---
ci/builder.rb | 4 ++++
ci/imager.rb | 4 ++++
ci/sourcer.rb | 4 ++++
3 files changed, 12 insertions(+)
diff --git a/ci/builder.rb b/ci/builder.rb
index a0e5a71..6b60c45 100755
--- a/ci/builder.rb
+++ b/ci/builder.rb
@@ -24,3 +24,7 @@ builder.build(source)
at_exit do
FileUtils.chown_R('jenkins', 'jenkins', Dir.pwd, verbose: true)
end
+
+Signal.trap 'TERM' do
+ FileUtils.chown_R('jenkins', 'jenkins', Dir.pwd, verbose: true)
+end
diff --git a/ci/imager.rb b/ci/imager.rb
index f60adcb..95b83d4 100755
--- a/ci/imager.rb
+++ b/ci/imager.rb
@@ -23,3 +23,7 @@ end
at_exit do
FileUtils.chown_R('jenkins', 'jenkins', Dir.pwd, verbose: true)
end
+
+Signal.trap 'TERM' do
+ FileUtils.chown_R('jenkins', 'jenkins', Dir.pwd, verbose: true)
+end
diff --git a/ci/sourcer.rb b/ci/sourcer.rb
index 5b2ea66..6cab998 100755
--- a/ci/sourcer.rb
+++ b/ci/sourcer.rb
@@ -17,3 +17,7 @@ open('build/source.yaml', 'w+') { |f| f.write(YAML.dump(r)) }
at_exit do
FileUtils.chown_R('jenkins', 'jenkins', Dir.pwd, verbose: true)
end
+
+Signal.trap 'TERM' do
+ FileUtils.chown_R('jenkins', 'jenkins', Dir.pwd, verbose: true)
+end
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list