2013-05-27 2 views
0

jenkins에서 배포를 수행하면 첫 번째 시도에서 실패하지만 두 번째 시도는 성공합니다.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> 태그를 수정하십시오.

관련 문제