我在詹金斯建立一个maven工作时正在运行maven release:branch。我遇到的问题与maven-error-releasing-code-to-github-hangs-after-push中提到的问题类似,但与詹金斯有关。
这是控制台输出:
[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由另一个团队管理,开发人员只能建立工作。