I would like to print all available properties (and their values) in env object inside Jenkinsfile.
env
When I do
print env
As said over here: https://stackoverflow.com/a/42138466/618253
The declarative pipeline way of doing things:
node { echo sh(returnStdout: true, script: 'env') }