#288  Retry on job failure
Closed
bufferUnderrun opened 3 years ago

Hi,

I'm trying to configure retry after a job failure but i don't know what to insert in the field "retry condition" ? I only want retry when job is in state failure so why i have to check some log or error message ?

image.png

Thanks for your help

Robin Shen commented 3 years ago

The condition tells OneDev when to retry build as retry on some failure is meaningless, for instance when your code actually contains errors.

However if you just want to retry as long as build is failed, you may specify retry condition as "Error Message" contains ".*"

Robin Shen changed state to 'Closed' 3 years ago
Previous Value Current Value
Open
Closed
Robin Shen commented 3 years ago

@bufferUnderrun please check if this works for you.

bufferUnderrun commented 3 years ago

it works !!

thanks

issue 1 of 1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (2)
Reference
onedev/server#288
Please wait...
Page is in error, reload to recover