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
Post a Comment