summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-12 14:00:04 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-12 14:00:04 +0100
commitec08c6f23074660e1cb36ba2cb662edba3ae4e10 (patch)
tree02ebfd3139a46210f6d58dc794263d4f02164439 /bin
parentcddfdf8e51663dc5789d0827ad05af4d24a05d72 (diff)
downloadjenkins.debian.net-ec08c6f23074660e1cb36ba2cb662edba3ae4e10.tar.xz
prevent python based jobs to be run on the jenkins test system
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 273c8500..6f2772ba 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