My config:
Repository url:
http://username:credenti...@test.fswiki.evry.com:7990/scm/tac/tac-jfr-server.git
name: stash
branches to build:
stash/topic/**
stash/dev

under 2nd advanced I have:
 Checkout/merge to local branch (optional): master (tried with and w/o
value here)
Config user.name Value: the userid
Config user.email Value: the mail adr

Merge options:
merge before build is checked,
name of repository: stash
branch to merge to: master

using jgit executable

then under post build actions, I have, for the git publisher:
Push Only If Build Succeed: checked
merge results: checked
branches:
branch to push: master
target remote name: stash

from console log:

Building on master in workspace /var/lib/jenkins/jobs/tac-jfr-srv/workspace
Checkout:workspace / /var/lib/jenkins/jobs/tac-jfr-srv/workspace -
hudson.remoting.LocalChannel@1b8223f2
Using strategy: Default
Last Built Revision: Revision a8ea258e0efe1d514f31c2c4b5cc60ea6ed6b3c6
(stash/dev)
Fetching changes from 1 remote Git repository
Commencing build of Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646
(stash/dev)
Merging Revision d5b0609fcb1061ee658d971ef5bffb06c1d40646 (stash/dev)
onto master

..... ok building

Skipping Sonar analysis
Pushing HEAD to branch master of stash repository
Opening connection
Counting objects
Finding sources
Writing objects
Pushing HEAD to branch master at repo stash
Opening connection
Counting objects
Finding sources
Writing objects
No emails were triggered.




2013/9/2 Mark Waite <markwa...@yahoo.com>

> The bug you referenced is fixed in the current versions of the git client
> plugin and the git plugin.  I can confirm that Git plugin versions 1.4.0
> and 1.5.0 are able to publish changes when used with git client plugin
> 1.1.2.
>
> Unfortunately, that probably doesn't help you, since there is still some
> reason that your publish attempt is failing.  You'll need to do more
> investigating to understand why publish works for others and not in the
> case you're testing.
>
> Mark Waite
>
>   ------------------------------
>  *From:* David Karlsen <davidkarl...@gmail.com>
> *To:* jenkinsci-users@googlegroups.com
> *Sent:* Monday, September 2, 2013 2:53 AM
> *Subject:* Git push back changes
>
> I'm having problems getting jenkins to push back the merged branch to
> origin repo. (everything else works but the push back to the repository).
>
> Looks like this issue:
>
> http://jenkins-ci.361315.n4.nabble.com/Git-publisher-fails-to-push-td4659177.html
>
> I'm running:
> -bash-3.2$ cat git-client/META-INF/MANIFEST.MF
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: jglick
> Build-Jdk: 1.7.0_25
> Extension-Name: git-client
> Specification-Title: Utility plugin for Git support in Jenkins
> Implementation-Title: git-client
> Implementation-Version: 1.1.2
> Group-Id: org.jenkins-ci.plugins
> Short-Name: git-client
> Long-Name: Jenkins GIT client plugin
> Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Client+Plugin
> Plugin-Version: 1.1.2
> Hudson-Version: 1.480
> Jenkins-Version: 1.480
> Plugin-Dependencies: ssh-credentials:1.0
> Plugin-Developers: Nicolas De Loof:ndeloof:nicolas.del...@gmail.com
>
> -bash-3.2$ cat git/META-INF/MANIFEST.MF
> Manifest-Version: 1.0
> Archiver-Version: Plexus Archiver
> Created-By: Apache Maven
> Built-By: nicolas
> Build-Jdk: 1.6.0_31
> Extension-Name: git
> Specification-Title: Integrates Jenkins with GIT SCM
> Implementation-Title: git
> Implementation-Version: 1.4.0
> Group-Id: org.jenkins-ci.plugins
> Short-Name: git
> Long-Name: Jenkins GIT plugin
> Url: http://wiki.jenkins-ci.org/display/JENKINS/Git+Plugin
> Plugin-Version: 1.4.0
> Hudson-Version: 1.448
> Jenkins-Version: 1.448
> Plugin-Dependencies: token-macro:1.5.1;resolution:=optional,multiple-s
>  cms:0.2;resolution:=optional,git-client:1.0.6,parameterized-trigger:2
>  .4;resolution:=optional
> Plugin-Developers: Kohsuke Kawaguchi:kohsuke:,Nicolas De Loof:ndeloof:
>  nicolas.del...@gmail.com
>
>
> on core 1.509.2
>
> are there any workarounds? AFAIK I'm running the latest git plugins for
> latest LTS.
>
> --
> --
> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
>  --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>    --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to