pipeline upstream trigger with multibranch upstream project

64 views
Skip to first unread message

Fabrice

unread,
Dec 19, 2016, 7:23:26 PM12/19/16
to Jenkins Users
Hi there,

we have a pipeline project (call it project A) being a dependency of a multibranch project (project B),
is there a way to trigger A's build from any branch of B instead of having to explicitly specify one?

In project A's Jenkinsfile, something like:

properties([
    pipelineTriggers([
        upstream(
            threshold: hudson.model.Result.SUCCESS,
            upstreamProjects: 'B/*'
        )
    ])
])

Thanks!

Reply all
Reply to author
Forward
0 new messages