s3jxaq
Last Updated: July 29, 2016
·
387
· superboum
Avatar1

Inspect (or dump) objects in a Jenkins pipeline, particularly once who where injected

Inspect Objects

Use the echo command, calling the dump() function on the object.

echo scm.dump()

Available objects

scm

This object is injected in a multibranch pipeline job only. Generally you'll use it as follow:

checkout scm

currentBuild

Say Thanks
Respond