From ec08c6f23074660e1cb36ba2cb662edba3ae4e10 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 12 Nov 2015 14:00:04 +0100 Subject: 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 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 -- cgit v1.2.3-70-g09d2