schutzbot: fix the pipeline

https://github.com/osbuild/osbuild-composer/pull/1228 was merged with
a failing Schutzbot's pipeline. The failure is caused because `var` apparently
isn't a right Groovy syntax. Let's use the right word `def` instead.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2021-02-16 12:50:57 +01:00 committed by Ondřej Budai
parent 2b823b97ad
commit a85511c6de

View file

@ -1,4 +1,4 @@
var cron_string = BRANCH_NAME == "main" ? "@daily" : ""
def cron_string = BRANCH_NAME == "main" ? "@daily" : ""
pipeline {
agent none