Get a list of steps in a build pipeline

Hi,

I would like to know how I could obtain the list of steps in my pipeline when I invoke build that runs them all.

Is this at all possible?

Thanks,

Martin

1 comment
Comment actions Permalink

Hi Martin,

Could you please detail the task? Are you looking for a way to get the list of all the builds of a build chain via Java API?
If yes, see SBuild.getBuildPromotion().getDependencies()
For the settings, see  SBuildType.getDependencies()

If you want to get the data inside the build script, you can try to use REST API to get the same data.

0

Please sign in to leave a comment.