fabric8io / fabric8-generator

a jboss forge add on for the fabric8 upstream and SaaS generator wizards
Apache License 2.0
1 stars 12 forks source link

Jenkins may not be up yet when using the wizard - so the wizard should retry/block for a while #10

Open jstrachan opened 7 years ago

jstrachan commented 7 years ago

there may not be a running Jenkins pod at the time the user creates a new app; so a 503 might come back from the create job: message = Failed to create Jenkins Organisation job:: java.lang.IllegalStateException: Failed to create the GitHub Org Job at https://jenkins-rhn-engineering-bsutter.8a09.starter-us-east-2.openshiftapps.com/createItem?name=burrsutter. javax.ws.rs.WebApplicationException: Failed to process https://jenkins-rhn-engineering-bsutter.8a09.starter-us-east-2.openshiftapps.com/createItem?name=burrsutter and got status: 503 Service Unavailable

jstrachan commented 7 years ago

a cooler option would be to store stuff in openshift and have the jenkins-sync-plugin lazily create the Jenkins Organisation Job