[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: scheduler: don't rebuild the html index when running in dry-run mode
Mattia Rizzolo
mattia at debian.org
Sat Mar 31 22:54:24 UTC 2018
This is an automated email from the git hooks/post-receive script.
mattia pushed a commit to branch master
in repository jenkins.debian.net.
commit d30b61f7b1dd36ec0dce0b4212f8204e397271d3
Author: Mattia Rizzolo <mattia at debian.org>
Date: Sun Apr 1 00:54:06 2018 +0200
reproducible debian: scheduler: don't rebuild the html index when running in dry-run mode
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
bin/reproducible_remote_scheduler.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 0835359..13673a4 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -364,8 +364,9 @@ def rest(scheduling_args, requester, local, suite, arch):
if notify_on_start or artifacts:
irc_msg(info_msg)
- from reproducible_html_live_status import generate_schedule
- generate_schedule(arch) # update the HTML page
+ if not dry_run:
+ from reproducible_html_live_status import generate_schedule
+ generate_schedule(arch) # update the HTML page
def main():
scheduling_args, requester, local, suites, archs = parse_args()
--
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