Extract data-bits from your Jenkins jobs
Another quicky.
I read here that cool trick to convert HTML entities to plain text:
alias htmldecode="perl -MHTML::Entities -pe 'decode_entities(\$_)'"
In a Debian based system, this suppose to apt-get install libhtml-parser-perl.
Why bother you may ask? Well because the (awful) Jenkins-cli outputs text areas content in encoded HTML entities, and for example I like the idea of being able to test a standalone packer template that’s failing.
Finally, here’s the full usecase: