Commit 2483a898 authored by Holger Levsen's avatar Holger Levsen

reproducible Debian: fixup 5e3f7d34 to append to the logfile

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent ddaf1ab0
......@@ -779,5 +779,5 @@ if __name__ == '__main__':
# build the kgb message text
message = 'Scheduled in ' + '+'.join(SUITES) + ' at ' + datetime.now().strftime("%Y-%m-%d %H:%M:%S") + ':\n' + message + '\n'
log.info(message)
with open('/var/log/jenkins/reproducible-scheduler.log', 'w') as logfile:
with open('/var/log/jenkins/reproducible-scheduler.log', 'a') as logfile:
logfile.write(message)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment