Skip to content

Commit

Permalink
Update the custom option for jobs pynfs and pynfs-acl to abort after …
Browse files Browse the repository at this point in the history
…4 hours

Signed-off-by: Rakshitha Kamath <[email protected]>
  • Loading branch information
rakshithakamath94 committed Jul 13, 2023
1 parent 2bd1fc5 commit b709ecc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
15 changes: 8 additions & 7 deletions jobs/macros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,14 @@
variable: GERRITHUB_KEY

#Enable this to over-ride the configuration under Manage Jenkins > Configure System > Global Build Time Out
#- wrapper:
# name: terminate_stuck_build
# wrappers:
# - timeout:
# timeout: 120
# abort: true
# type: no-activity
#This one is meant for pynfs jobs, setting the value to 4 hours as a part of my testing!
- wrapper:
name: terminate_stuck_build
wrappers:
- timeout:
timeout: 240
abort: true
type: no-activity

- publisher:
name: post_build_task_return-node
Expand Down
1 change: 1 addition & 0 deletions jobs/pynfs-acl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@

wrappers:
- gerrithub_key
- terminate_stuck_build
- cleanup-ws

publishers:
Expand Down
1 change: 1 addition & 0 deletions jobs/pynfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

wrappers:
- gerrithub_key
- terminate_stuck_build
- cleanup-ws

triggers:
Expand Down

0 comments on commit b709ecc

Please sign in to comment.