I would like to print all available properties (and their values) in env
object inside Jenkinsfile.
When I do
print env
I get:
org.jenkinsci.plugins.workflow.cps.EnvActionImpl@112cebc2
So it looks like toString
is not implemented there, how can I access properties that are in this object if I don't know their names?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…