Description of problem: Jenkins server new created, app new created, add jenkins client to the app, will get some warning about "Associated with existing job 'php1-build' in Jenkins server." Version-Release number of selected component (if applicable): cartridge-jenkins-1.4-0.97.1-1.git.0.349a91c.el6.noarch cartridge-jenkins-client-1.4-0.31.2-1.git.0.05990dc.el6.noarch devenv_1997 rhc-0.97.7 How reproducible: always Steps to Reproduce: 1.Create a jenkins app 2.Create an app of any type 3.Embed the jenkins client to the app $rhc app cartridge add -a app1 -c jenkins-client-1.4 Actual results: $rhc app cartridge add -a php1 -c jenkins-client-1.4 RESULT: Associated with existing job 'php1-build' in Jenkins server. If this was not intended you can remove the jenkins client, remove or rename the existing job, and re-add the jenkins client to get a new job created. Job URL: https://jk1-bmengdev.dev.rhcloud.com/job/php1-build/ Jenkins client 1.4 has been added to: php1 Expected results: Should not have the warning about exsiting job since the jenkins server is new created, and doesn't have such job actually. Additional info:
The Job gets created for each application, in this case "php1-build" is the name of the Job in Jenkins. How about I just get rid of "existing" since that's confusing?
Hi Bill, I think the whole sentence should not show up when the app embed jenkins for the first time. In the past, this warning show up when user removed the embedded jenkins client from existed apps and try to add the jenkins client to the same apps again.
Verified on devenv_2042 Steps: 1.Create a jenkins server 2.Create an application and embed jenkins-client, check output RESULT: Associated with job 'ps1-build' in Jenkins server. Job URL: https://jks-2042t1.dev.rhcloud.com/job/ps1-build/ Jenkins client 1.4 has been added to: ps1