[groovy] How do I get the output of a shell command executed using into a variable from Jenkinsfile (groovy)?