Invoke another pipeline under another repository's branch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Invoke another pipeline under another repository's branch

Dan Tran
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/06c702e8-e348-4511-b517-1183426eaff2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Invoke another pipeline under another repository's branch

Dan Tran
Ping!

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/90ffc108-4a5c-4081-b902-99e0f4679b25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Invoke another pipeline under another repository's branch

Slava Dubrovskiy

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

--
WBD,
Viacheslav Dubrovskyi

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/c6f7183f-313b-8653-63e2-7e4e16ddfe86%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Invoke another pipeline under another repository's branch

Kevin Burnett
: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.

On Friday, September 15, 2017 at 11:30:02 AM UTC-4, Slava Dubrovskiy wrote:

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

--
WBD,
Viacheslav Dubrovskyi

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/24e22be1-57be-4734-a342-7c1485dc370f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Invoke another pipeline under another repository's branch

Dan Tran
In reply to this post by Dan Tran
found my own answer :-)

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

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

Thanks

-Dan

On Wednesday, September 13, 2017 at 10:37:32 PM UTC-7, Dan Tran wrote:
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

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a83af012-daeb-44f7-b721-7c3d35c13a54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.