简体   繁体   中英

Jenkins integration with Artifactory

I am trying to integrate Jenkins with Artifactory to deploy maven builds to artifactory repositories. When I am taking the build in Jenkins, getting the following error in console output.

“ERROR: Processing failed due to a bug in the code. Please report this to jenkinsci-users@googlegroups.com java.lang.RuntimeException: java.lang.IllegalArgumentException: No matching Artifactory server was found in General Configuration. Please update your job configuration” .

I have configured one Artifactory Server with default username and password. I left 'Use Different Resolver Credentials' box as unchecked. I did the Test Connection as well and got the message "Found Artifactory 2.6.7".But I could not do the configuration changes mentioned under "Configuring Maven 2 and Maven 3 Builds" since there is no option to do the post build step in my screen.

I am using Jenkins version 1.509, Artifactory pro version 2.6.7 and Jenkin-artifactory plugin version 2.2.1. Is my issue because of the version incompatibilities between these ?If yes, can anyone suggest me the compatible version of them for the CI integration ? My project team suggests to use Jenkins 1.509.So it will be great if some one can tell me the suitable versions of both Artifactory product and Jenkin-artifactory plugin matching to Jenkins version 1.509 Also please advise me that what all changes are required under Jenkins > ['MyJobs'] > configuration

The compatible versions are listed in the documentation . Did you set up the Artifactory Server in the General Configuration as the error message suggests?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM