1
我有這樣的錯誤消息:如何解決權限被拒絕(公鑰)當Maven新聞稿中
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.2:prepare (default-cli) on project portail: Unable to
commit files
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] Permission denied (publickey).
[ERROR] fatal: Could not read from remote repository.
我不明白。我用這個命令行家:
mvn release:prepare release:perform -DgenerateBackupPoms=false -Dtag=xxx-2.1-RC03 -DreleaseVersion=2.1-RC03 -DdevelopmentVersion=2.2-SNAPSHOT
和我有結果的一半,因爲我能看到第一推[maven-release-plugins] prepare release xxx-2.1.0-RC03
但我不能看到我的Nexus神器2.1.0-RC03。
如果我在同一個項目上詹金斯用maven發佈的版本將完全成功......基於提供的信息,這是不可能給你確切的答案
什麼URL到Git倉庫,在這兩個職位被使用?你確定詹金斯的工作是使用Jenkins中配置的密鑰嗎? –
你推我的最佳方式,我看到我的SCM配置(POM)和我改變「詹金斯」(developerConnection /推部分)與我的用戶名,即作品! (對不起我的英文不好!) –
我很高興我能幫助:) –