2

我在 Jenkins 中构建 maven 作业时正在运行 maven release:branch。我遇到了与这个问题maven-error-releasing-code-to-github-hangs-after-push中提到的类似的问题,但使用的是 Jenkins。

这是控制台输出:

[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building maven-test-2 0.0.6-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-release-plugin:2.3.1:branch (default-cli) @ maven-test-2 ---
[INFO] Verifying that there are no local modifications...
[INFO]   ignoring changes on: **\release.properties, **\pom.xml.next, **\pom.xml.releaseBackup, **\pom.xml.backup, **\pom.xml.branch, **\pom.xml.tag
[INFO] Executing: cmd.exe /X /C "git status"
[INFO] Working directory: C:\Program Files (x86)\Jenkins\jobs\Maven-Test-09-SEP-03-03\workspace
What is the new working copy version for "maven-test-2"? (com.paypal:maven-test-2) 0.0.7-SNAPSHOT: : [INFO] Transforming 'maven-test-2'...
[INFO] Checking in modified POMs...
[INFO] Executing: cmd.exe /X /C "git add -- pom.xml"
[INFO] Working directory: C:\Program Files (x86)\Jenkins\jobs\Maven-Test-09-SEP-03-03\workspace
[INFO] Executing: cmd.exe /X /C "git status"
[INFO] Working directory: C:\Program Files (x86)\Jenkins\jobs\Maven-Test-09-SEP-03-03\workspace
[INFO] Executing: cmd.exe /X /C "git commit --verbose -F C:\WINDOWS\TEMP\maven-scm-574276238.commit pom.xml"
[INFO] Working directory: C:\Program Files (x86)\Jenkins\jobs\Maven-Test-09-SEP-03-03\workspace
[INFO] Executing: cmd.exe /X /C "git symbolic-ref HEAD"
[INFO] Working directory: C:\Program Files (x86)\Jenkins\jobs\Maven-Test-09-SEP-03-03\workspace
[INFO] Executing: cmd.exe /X /C "git push git@github.paypal.com:XXXXXXXX@github.paypal.com:atagrawal/maven-test-3.git master:master"
[INFO] Working directory: C:\Program Files (x86)\Jenkins\jobs\Maven-Test-09-SEP-03-03\workspace
----------------------------It Hangs Here------------------------

如果1),你们中的任何人都知道如何解决这个问题。如果我是管理员用户 2)。我是普通用户,无权访问“管理 Jenkins”。这是因为 jenkins 由另一个团队管理,开发人员只能构建作业。

4

0 回答 0