有关竹制品插件发布管理的问题

时间:2019-10-11 17:42:33

标签: artifactory bamboo

我正在尝试使用此处所述的发布管理 https://www.jfrog.com/confluence/display/RTF/Bamboo+Artifactory+Plugin+-+Release+Management

我已成功将其与我的ID和密码一起用于位存储桶,如此处所述 https://www.jfrog.com/confluence/display/RTF/Bamboo+Artifactory+Plugin+-+Release+Management#BambooArtifactoryPlugin-ReleaseManagement-ConfiguringMavenJobs

但是,当使用ssh键和密码选项时,我无法使其正常工作。我相信我使用的是正确的git网址

ssh://someuser@bitbucket.somecompany.com:port/path/to/repository.git

并且我提供了所需的密码。 enter image description here

但是我遇到了这样的异常

error   11-Oct-2019 01:00:46    Caused by: org.eclipse.jgit.errors.TransportException: ssh://someuser@bitbucket.somecompany.com:port/path/to/repository.git: Auth fail
error   11-Oct-2019 01:00:46        at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:160)
error   11-Oct-2019 01:00:46        at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:137)
error   11-Oct-2019 01:00:46        at org.eclipse.jgit.transport.TransportGitSsh$SshPushConnection.<init>(TransportGitSsh.java:332)
error   11-Oct-2019 01:00:46        at org.eclipse.jgit.transport.TransportGitSsh.openPush(TransportGitSsh.java:174)
error   11-Oct-2019 01:00:46        at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:160)
error   11-Oct-2019 01:00:46        at org.eclipse.jgit.transport.Transport.push(Transport.java:1310)
error   11-Oct-2019 01:00:46        at org.eclipse.jgit.transport.Transport.push(Transport.java:1356)
error   11-Oct-2019 01:00:46        at org.jfrog.bamboo.release.vcs.git.SshPushCommand.call(SshPushCommand.java:79)
error   11-Oct-2019 01:00:46        ... 17 more
error   11-Oct-2019 01:00:46    Caused by: com.jcraft.jsch.JSchException: Auth fail
error   11-Oct-2019 01:00:46        at com.jcraft.jsch.Session.connect(Session.java:519)
error   11-Oct-2019 01:00:46        at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:117)
error   11-Oct-2019 01:00:46        ... 24 more

我怀疑我必须提供私钥的位置,但是我找不到竹子中的占位符。在本文的结尾部分提到了这一点,但是我真的找不到如何配置

https://www.jfrog.com/confluence/display/RTF/Bamboo+Artifactory+Plugin+-+Release+Management#BambooArtifactoryPlugin-ReleaseManagement-WorkingwithGit

注意:此帖子的git网址被故意弄乱了

0 个答案:

没有答案