문제를 설명하기 전에 jenkins와 github에 대해 처음으로 새로운 내용을 언급해야합니다. 문제점은 github 프로젝트로 jenkins Job을 첨부 할 수 있었지만 나는 내 이메일에 다음과 같은 오류 얻을, 젠킨스에 작업을 빌드 할 때 :Jenkins가 github 프로젝트를 빌드하지 않음
Started by user anonymous
Building in workspace <http://127.0.0.1:8080/job/work_test/ws/>
Checkout:workspace/<http://127.0.0.1:8080/job/work_test/ws/> - [email protected]
Using strategy: Default
Fetching changes from 1 remote Git repos
itory
Fetching upstream changes from [email protected]:[user]/[project]-portal.git
Seen branch in repository origin/HEAD
Seen branch in repository origin/develop
Seen branch in repository origin/development_umair
Seen branch in repository origin/logs_redesign
Seen branch in repository origin/master
Seen branch in repository origin/overviewtabs
Commencing build of Revision b65f1a84d55a048accbcf7af2f56bb357fe73b64 (origin/overviewtabs)
Checking out Revision b65f1a84d55a048accbcf7af2f56bb357fe73b64 (origin/overviewtabs)
FATAL: Could not apply tag jenkins-[project name]_test-17
hudson.plugins.git.GitException: Could not apply tag [project name] test-17
at hudson.plugins.git.GitAPI.tag(GitAPI.java:829)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1270)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1231)
at hudson.FilePath.act(FilePath.java:852)
at hudson.FilePath.act(FilePath.java:825)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1231)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1325)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:682)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:587)
at hudson.model.Run.execute(Run.java:1543)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: hudson.plugins.git.GitException: Command "git tag a -f -m Jenkins Build #17 jenkins[project name]_test-17" returned status code 128:
stdout:
stderr:
Please tell me who you are.
Run
git config --global user.email "[email protected]"
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 <[email protected][email]-KJ419AA-AB4-a6417l.(none)> not allowed
at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:897)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:858)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:868)
at hudson.plugins.git.GitAPI.tag(GitAPI.java:827)
... 13 more
필요가 새로운 아직 쉽게 설명, 내가 솔루션을 검색 한 .. =) 도움의 유형을 구성하는 하지만 내가 가진 가장 가까운 것은 "gitconfig"파일을 갖는 것의 중요성이었습니다. 나는 그것을 설정하려고했지만 문제를 해결할 수 없었습니다 ... 그리고 말할 것도없이, 우분투 OS를 사용하고 있습니다. 그게 해결책과 관련이 있다면 ..
가능한 복제본 [Jenkins + git : "누구인지 말해주세요"오류, 왜 태그해야합니까?] (http://stackoverflow.com/questions/11122913/jenkins-git-tell-me-who -you-are-error-why-does-need-to-tag) – knocte