Invoke another pipeline under another repository's branch

24 views
Skip to first unread message

Dan Tran

unread,
Sep 14, 2017, 1:37:32 AM9/14/17
to Jenkins Users
Hi 

I have BitBucket Team job,   I would in invoke another pipeline belong to another git repo with a specific branch ( master)

In details

     teamX

         repo-1
             master
             release/release-1

         repo-2
             master
             release/release-1


I would like to have repo2/release/release-1 to invoke  repo-1/release/release-1 using this syntax    build job: xxx

No luck with many tries

any suggestion is greatly appreciated

-Dan

Dan Tran

unread,
Sep 15, 2017, 10:50:14 AM9/15/17
to Jenkins Users
Ping!

Viacheslav Dubrovskyi

unread,
Sep 15, 2017, 11:30:02 AM9/15/17
to jenkins...@googlegroups.com

15.09.2017 17:50, Dan Tran пишет:
> Ping!
0% packet loss

--
WBD,
Viacheslav Dubrovskyi

Kevin Burnett

unread,
Sep 15, 2017, 10:27:46 PM9/15/17
to Jenkins Users
:D

this is working for me:

build('/proj/hot-repo/master')

where proj is a bitbucket project key (bitbucket server in my case) and hot-repo is a repo within that project.

Dan Tran

unread,
Sep 17, 2017, 11:32:38 PM9/17/17
to Jenkins Users
found my own answer :-)

../repo-1/release%2Frelease-1

Need to escape the the / ins 'release/release-1'

Thanks

-Dan
Reply all
Reply to author
Forward
0 new messages