Description of problem: When I delete my application and recreate it with the same name, my Jenkins server can not build the application. Steps to Reproduce: 1. Create Jenkins server 2. Create Application ; Build application 3. Delete Application ; Build application Additional info: This seems to happen because Jenkins is not cleaned up, IE: the jenkins server is not made aware the the build was deleted.
The issue is a bit stickier than this. Basically, when the app is deleted the build is set to disabled (I believe this was a deliberate design decision). When the new app is created the jenkins job is re-enabled, but is not fully wired up correctly and the jenkins jobs fail to do a git pull on the application repository. The workaround in the meantime would be to make sure to delete the jenkins job before re-creating a new application with the same name as a deleted application.
Also, this issue affects 2.0 as well as 1.2
I have the same issue. How can I delete the jenkins job before re-creating a new application? Thanks!
Katalin, try logging in to the Jenkins web application and deleting the job manually. If you log in to your main gear you should be able to run 'env | grep JENKINS' to see the login details.
Workaround here is to delete your buildjob when you delete your application.