[Qa-jenkins-scm] [jenkins.debian.net] 01/01: prevent python based jobs to be run on the jenkins test system
Holger Levsen
holger at moszumanska.debian.org
Thu Nov 12 13:00:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ec08c6f23074660e1cb36ba2cb662edba3ae4e10
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Nov 12 14:00:04 2015 +0100
prevent python based jobs to be run on the jenkins test system
---
bin/reproducible_common.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 273c850..6f2772b 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -28,6 +28,10 @@ from datetime import datetime, timedelta
DEBUG = False
QUIET = False
+# don't try to run on test system
+if os.uname()[1] == 'jenkins-test-vm':
+ sys.exit()
+
# tested suites
SUITES = ['testing', 'unstable', 'experimental']
# tested architectures
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list