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
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