I think I'm doing something close enough to your request that it might be
useful to you.

I have a Jenkins job which I use to synchronize copies of the
git-client-plugin from its official location on github to unofficial copies
on bitbucket, assembla, sourceforge, and google code.  That's not quite the
same as what you're requesting, but I think it is very close.  I use the
technique so that I have testable copies on multiple providers, in case the
authentication systems at one of the git hosting providers behaves
differently than others.

One of the jobs is configured to push to a single repository after running
a build and test cycle.

The other job is configured to push to three different repositories after
running a build and test cycle.

I can share the config.xml definition of the jobs with you, or screen shots
of the relevant portions of the configuration page for each of the jobs.

Mark Waite

On Sun, Jan 25, 2015 at 8:10 PM, bl0ck3r <martin.danjo...@gmail.com> wrote:

> I was under the impression that by installing the git-plugin, I would be
> able to support pull requests between two custom local repositories (say
> file:// - no github here). By that I mean that the git-plugin would clone a
> "central" repo, fetch a branch from a "forked" repo, and merge them. Then
> it would let the core of the build run. Then in the post build, the git
> publisher would push the merge back to the "central" repo if the build was
> successful (with a tag maybe).
>
> I tried to make the git-plugin do that but it seems I need to write some
> parts by hand as I cannot get it to fetch from the forked repository. Am I
> mistaken about the git-plugin? Can it do all of this by itself?
>
> Please do not suggest github, it is not an option (behind a firewall).
>
> Thanks,
> Martin
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/3f47515d-6821-4836-8268-44ce0497eec1%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/3f47515d-6821-4836-8268-44ce0497eec1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Thanks!
Mark Waite

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtF7V8n0nbR3s8oRXaofT-yWgmFToFtwEZXs1kd8GuaNQA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to