Retry on job failure (OD-288)
bufferUnderrun opened 5 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 5 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' 5 years ago
    Previous Value Current Value
    Open
    Closed
  • Robin Shen commented 5 years ago

    @bufferUnderrun please check if this works for you.

  • bufferUnderrun commented 5 years ago

    it works !!

    thanks

issue 1/1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (2)
Reference
OD-288
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover