Skip to content

Commit

Permalink
Fix: Update gradle job for build and publish
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jwagantall committed Jun 5, 2024
1 parent 6b7742e commit 5082a11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions jjb/lf-gradle-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@
choosing-strategy: gerrit

triggers:
- timed: "{obj:cron}"
- gerrit:
server-name: "{gerrit-server-name}"
trigger-on: "{obj:gerrit_gradle_verify_triggers}"
Expand Down Expand Up @@ -202,7 +201,6 @@
choosing-strategy: default

triggers:
- timed: "{obj:cron}"
- gerrit:
server-name: "{gerrit-server-name}"
trigger-on: "{obj:gerrit_gradle_merge_triggers}"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Remove daily triggers for gradle build and publish jobs.
Remove env variables from script which are passed by the job caller.
3 changes: 0 additions & 3 deletions shell/nexus-upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# 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
Expand Down

0 comments on commit 5082a11

Please sign in to comment.