Re: Detect in a pipeline that a node is not working

2023-02-08 Thread 'Xavier Raynaud' via Jenkins Users
Hi, timeout has "activity" flag: When set, it timeout after no activity in logs for this block instead of absolute duration. If your testcases print something in console, it may fit your needs. timeout(activity: true, time: 1, unit: 'HOURS') { // some block } Xavier From: "Baptiste Ma

Re: Detect in a pipeline that a node is not working

2023-02-08 Thread Baptiste Mathus
I mean putting a high timeout, like 1 hour, or 10 or whatever depending on what it does, so the pipeline eventually does complete and creates the reports. Without this, it may indeed stay stalled forever. Le mar. 7 févr. 2023 à 22:18, 'Jean-Philippe Humbert' via Jenkins Users < jenkinsci-users@goo