diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-11-12 14:00:04 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-11-12 14:00:04 +0100 |
commit | ec08c6f23074660e1cb36ba2cb662edba3ae4e10 (patch) | |
tree | 02ebfd3139a46210f6d58dc794263d4f02164439 | |
parent | cddfdf8e51663dc5789d0827ad05af4d24a05d72 (diff) | |
download | jenkins.debian.net-ec08c6f23074660e1cb36ba2cb662edba3ae4e10.tar.xz |
prevent python based jobs to be run on the jenkins test system
-rwxr-xr-x | bin/reproducible_common.py | 4 |
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 |