[JIRA] [git-plugin] (JENKINS-26830) Git plugin using wrong username for committer different from user running build set in user.name and user.email

2015-02-13 Thread mark.earl.wa...@gmail.com (JIRA)














































Mark Waite
 commented on  JENKINS-26830


Git plugin using wrong username for committer different from user running build set in user.name and user.email















Does this stackoverflow article on committer vs. author  apply in this case?



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-26830) Git plugin using wrong username for committer different from user running build set in user.name and user.email

2015-02-13 Thread baskel...@gmail.com (JIRA)














































Bret Askeland
 commented on  JENKINS-26830


Git plugin using wrong username for committer different from user running build set in user.name and user.email















Unfortunately it doesn't.  I did some research that also suggested that, but that doesn't seem to be the issue.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-26830) Git plugin using wrong username for committer different from user running build set in user.name and user.email

2015-02-09 Thread baskel...@gmail.com (JIRA)














































Bret Askeland
 commented on  JENKINS-26830


Git plugin using wrong username for committer different from user running build set in user.name and user.email















I thought the exact same thing and checked all of those.  But here is the output from the commands you want to see:

$ git config --list
core.symlinks=false
core.autocrlf=false
pack.packsizelimit=2g
help.format=html
http.sslcainfo=/bin/curl-ca-bundle.crt
sendemail.smtpserver=/bin/msmtp.exe
diff.astextplain.textconv=astextplain
rebase.autosquash=true
*user.name=svcClairviaBuild*
*user.email=svcclairviabu...@1234.com*

$ git config --get-all user.name
*svcClairviaBuild*

$ git config --get-all user.email
*svcclairviabu...@1234.com*

Also running this globally as I have it set for the user:
$ git config --global --list
*user.name=svcClairviaBuild*
*user.email=svcclairviabu...@1234.com*
push.default=simple
credential.helper=wincred



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-26830) Git plugin using wrong username for committer different from user running build set in user.name and user.email

2015-02-09 Thread mark.earl.wa...@gmail.com (JIRA)














































Mark Waite
 commented on  JENKINS-26830


Git plugin using wrong username for committer different from user running build set in user.name and user.email















I'm reasonably confident this is a configuration error, not a bug in the git plugin. Could you answer the following questions to further explore it:


	What is the output if you run a batch build step on that node with the command "git config --list"?
	What is the output if you run a batch build step on that node with the command "git config --get-all user.name"?
	What is the output if you run a batch build step on that node with the command "git config --get-all user.email"?



I assume the output of the first command will include user.name=ms030441 and the output of the second and third commands will include at least one line containing ms030441.

If the output contains no entries for user.name or user.email, then the plugin is using defaults.  You can set the defaults for the account on that slave with a build step 'git config user.name="Your Name"', then confirm with the "git config --list" build step that the setting was preserved.



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] [git-plugin] (JENKINS-26830) Git plugin using wrong username for committer different from user running build set in user.name and user.email

2015-02-06 Thread baskel...@gmail.com (JIRA)














































Bret Askeland
 created  JENKINS-26830


Git plugin using wrong username for committer different from user running build set in user.name and user.email















Issue Type:


Bug



Assignee:


Nicolas De Loof



Components:


git-plugin



Created:


06/Feb/15 1:49 PM



Description:


Using Git Plugin 2.3.4.

When choosing GIT for source control system and specifying the git url with http and no username, when the plugin runs it sets the committer to a different user than the author and the one running the jenkins build.

Setup:

Jenkins build with Git.
Executing Nant build script - this script has exec commands to call git for "git add ." and "git commit -m "Build Number" --author "svcClairviaBuild"  and "git push origin Fixes"

When the git plugin is enabled for the repo the final "push" commit to the remote repo always shows the wrong user but will show the author as the one specified.

Jenkins is running as a service with the "svcClairviaBuild" user.

Here is the commit message on the server:  *MS030441 is not the committer why is this showing up?

git config global -l = user.name=svcClairviaBuild user.email=svcclairviabu...@johndoe.com

BUILD:8.4.2.0-1179
5a2a7bae5cBrowse code 
svcClairviaBuild authored 3 minutes ago *ms030441* committed 3 minutes ago




Project:


Jenkins



Priority:


Critical



Reporter:


Bret Askeland

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
You received this message because you are subscribed to the Google Groups Jenkins Issues group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.