With Jenkins 2 Pipeline plugin, there\'s a useful feature allowing a quick overview of the pipeline stages and status of steps, including logging output.
However, if
It's not perfect, but I generally find it adequate to add an echo step that describes what the following bat or sh step is trying to accomplish. Someone that's never seen it before should be able to figure it out quickly.
echo "Testing with Ping"
bat "ping www.stackoverflow.com"
echo "Getting IPs"
bat "nslookup www.stackoverflow.com"