0

当我在 jenkins 上进行部署时,第一次尝试失败,但第二次尝试成功。

(Web 控制台)登录也是如此。当我第一次尝试登录时它失败了,但是当我重试登录成功时。(是的,我两次都正确输入了密码)。

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project test: Failed to deploy artifacts: Could not transfer artifact com.teste:test:jar:0.8.0 from/to artifactory.test.com(http://artifactory.test/libs-release-local): Failed to transfer file: http://artifactory.test.com/libs-release-local/com/test/test/0.8.0/test-0.8.0.jar. Return code is: 401, ReasonPhrase:Bad credentials. -> [Help 1]
    [ERROR] 
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    Build step 'Invoke top-level Maven targets' marked build as failure
    Finished: FAILURE

谢谢。

4

1 回答 1

0

修复 <ldapUrl>/app/artifactory/etc/artifactory.config.latest.xml 文件中的标签

于 2013-12-09T18:15:06.273 回答