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

Popular posts from this blog

python - What's the Pythonic way to report nonfatal errors in a parser? -

sql server - Deadlock occuring in Clustered Columnstore index -

angular - Converting AngularJS deffered promise to AngularX observable for JSOM -