jenkins - How can I take last 20 lines from the $BUILD_LOG variable? -


when using email-ext plugin, write last 20 lines of build log there (not attached file) know can access log using $build_log variable, don't know how take las 20 lines variable. help? lot.

you use following syntax, content token reference:

${build_log, maxlines, escapehtml} - displays end of build log. maxlines - display @ many lines of log. defaults 250. escapehtml - if true, html escaped. defaults false.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -