2013-05-27 38 views
0

當我在詹金斯上進行部署時,第一次嘗試失敗,但第二次嘗試失敗。Jenkins只是在第二次嘗試時登錄

(網絡控制檯)登錄相同。當我第一次嘗試登錄時失敗,但是當我重試登錄時會結束。 (是的,我兩次都輸入了正確的密碼)。

[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 

謝謝。

回答

0

在/app/artifactory/etc/artifactory.config.latest.xml文件中修復<ldapUrl>標記

相關問題