www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "#asfinfra IRC Bot (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-4697) Initialize git user.name and user.email on jenkins server
Date Thu, 19 Apr 2012 05:20:24 GMT

    [ https://issues.apache.org/jira/browse/INFRA-4697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13257246#comment-13257246
] 

#asfinfra IRC Bot commented on INFRA-4697:
------------------------------------------

<danielsh> do you need jenkins to have push access?  if not, can you just make those
config changes locally to your build's repository?

                
> Initialize git user.name and user.email on jenkins server
> ---------------------------------------------------------
>
>                 Key: INFRA-4697
>                 URL: https://issues.apache.org/jira/browse/INFRA-4697
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Robert Newson
>
> I'm configuring jenkins at builds.apache.org to build CouchDB but hit a hurdle fairly
immediately. I think this is the first attempt to use a git repository as SCM? A snippet of
the error below, but it suffices to run the two git config commands on the jenkins server
to fix (verified on a local jenkins server with a working git setup).
> Caused by: hudson.plugins.git.GitException: Error performing command: git tag -a -f -m
Jenkins Build #3 jenkins-CouchDB-3
> Command "git tag -a -f -m Jenkins Build #3 jenkins-CouchDB-3" returned status code 128:

> *** Please tell me who you are.
> Run
>   git config --global user.email "you@example.com"
>   git config --global user.name "Your Name"
> to set your account's default identity.
> Omit --global to set the identity only in this repository.
>   git config --global user.email "you@example.com"
>   git config --global user.name "Your Name"
> to set your account's default identity.
> Omit --global to set the identity only in this repository.
> fatal: empty ident  <jenkins@janus.apache.org
> > not allowed
> 	at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:771)
> 	... 15 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message