On Mon, Feb 18, 2019 at 2:13 AM <[email protected]> wrote: > I am looking for a way to read the list of GitStep from within a Project > instance (or Job, or Queue.Item), similar to what Project.getBuilders() > provides you.
Not exactly possible for Pipeline projects (since the exact steps may vary from build to build) but you can use https://javadoc.jenkins.io/jenkins/triggers/SCMTriggerItem.SCMTriggerItems.html#asSCMTriggerItem-hudson.model.Item- which would reflect the last successful build. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr32TzRHRwTOB5MhhytaiRKUhqw_hcyNmGRmG339UhDHNg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
