groovy - Setting up timeout in buildflow jobs jenkins -
i'm trying set timeout jenkins job build flow type , cannot figure out how to. found piece of code
job('myjob') { wrappers{ timeout{ noactivity(180) failbuild() } } }
but not know how include in job. please help. thank you.
Comments
Post a Comment