Build and publish should not run on a daily basis.
They should only run on patchset created and patchset merged.
Remove script variables which are set by the job caller. Removing them
from the script since it was removing its values.
Issue: RELENG-5405
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I8717fcc935d34952b5b608269a0e6f63ba9fd2a4
choosing-strategy: gerrit
triggers:
- - timed: "{obj:cron}"
- gerrit:
server-name: "{gerrit-server-name}"
trigger-on: "{obj:gerrit_gradle_verify_triggers}"
choosing-strategy: default
triggers:
- - timed: "{obj:cron}"
- gerrit:
server-name: "{gerrit-server-name}"
trigger-on: "{obj:gerrit_gradle_merge_triggers}"
--- /dev/null
+---
+fixes:
+ - |
+ Remove daily triggers for gradle build and publish jobs.
+ Remove env variables from script which are passed by the job caller.
# Copyright 2024 The LMinux Foundation <matthew.watkins@linuxfoundation.org>
# Uncomment to enable debugging
# set -vx
-# Initialise variables
-DIRECTORY="."
-FILE_EXTENSION=""
# Count file upload successes/failures
SUCCESSES="0"; FAILURES="0"
# Shared functions