{"action":"created","issue":{"url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3356","repository_url":"https://api.github.com/repos/openshiftio/openshift.io","labels_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3356/labels{/name}","comments_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3356/comments","events_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3356/events","html_url":"https://github.com/openshiftio/openshift.io/issues/3356","id":318813068,"number":3356,"title":"Promotion does not happen when Jenkins idled","user":{"login":"lordofthejars","id":1517153,"avatar_url":"https://avatars2.githubusercontent.com/u/1517153?v=4","gravatar_id":"","url":"https://api.github.com/users/lordofthejars","html_url":"https://github.com/lordofthejars","followers_url":"https://api.github.com/users/lordofthejars/followers","following_url":"https://api.github.com/users/lordofthejars/following{/other_user}","gists_url":"https://api.github.com/users/lordofthejars/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofthejars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofthejars/subscriptions","organizations_url":"https://api.github.com/users/lordofthejars/orgs","repos_url":"https://api.github.com/users/lordofthejars/repos","events_url":"https://api.github.com/users/lordofthejars/events{/privacy}","received_events_url":"https://api.github.com/users/lordofthejars/received_events","type":"User","site_admin":false},"labels":[{"id":627758081,"url":"https://api.github.com/repos/openshiftio/openshift.io/labels/SEV2-high","name":"SEV2-high","color":"666666","default":false},{"id":911378770,"url":"https://api.github.com/repos/openshiftio/openshift.io/labels/priority/P0","name":"priority/P0","color":"de04f2","default":false},{"id":637470775,"url":"https://api.github.com/repos/openshiftio/openshift.io/labels/team/build-cd","name":"team/build-cd","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":{"login":"lordofthejars","id":1517153,"avatar_url":"https://avatars2.githubusercontent.com/u/1517153?v=4","gravatar_id":"","url":"https://api.github.com/users/lordofthejars","html_url":"https://github.com/lordofthejars","followers_url":"https://api.github.com/users/lordofthejars/followers","following_url":"https://api.github.com/users/lordofthejars/following{/other_user}","gists_url":"https://api.github.com/users/lordofthejars/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofthejars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofthejars/subscriptions","organizations_url":"https://api.github.com/users/lordofthejars/orgs","repos_url":"https://api.github.com/users/lordofthejars/repos","events_url":"https://api.github.com/users/lordofthejars/events{/privacy}","received_events_url":"https://api.github.com/users/lordofthejars/received_events","type":"User","site_admin":false},"assignees":[{"login":"lordofthejars","id":1517153,"avatar_url":"https://avatars2.githubusercontent.com/u/1517153?v=4","gravatar_id":"","url":"https://api.github.com/users/lordofthejars","html_url":"https://github.com/lordofthejars","followers_url":"https://api.github.com/users/lordofthejars/followers","following_url":"https://api.github.com/users/lordofthejars/following{/other_user}","gists_url":"https://api.github.com/users/lordofthejars/gists{/gist_id}","starred_url":"https://api.github.com/users/lordofthejars/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lordofthejars/subscriptions","organizations_url":"https://api.github.com/users/lordofthejars/orgs","repos_url":"https://api.github.com/users/lordofthejars/repos","events_url":"https://api.github.com/users/lordofthejars/events{/privacy}","received_events_url":"https://api.github.com/users/lordofthejars/received_events","type":"User","site_admin":false}],"milestone":null,"comments":38,"created_at":"2018-04-30T08:08:33Z","updated_at":"2018-05-07T06:52:51Z","closed_at":null,"author_association":"NONE","body":"I created a new quickstart in openshift.io. The build started correctly, and I simply wait until Jenkins is idled. \r\n\r\nWith Jenkins Idled, and the build stopped in approval step, I clicked on the Promote button and nothing happened. \r\n\r\nWhat I did after that was to go to jenkins.openshift.io and Jenkins was unidling at that time. I wait until it was unidled and inspecting the build log I could see that the \"Promote\" action was not sent to pipeline and Jenkisn was waiting for approval. So I push again the promote button, after Jenkins is unidled and then the build process continues normally and version is promoted.\r\n\r\nTrying to gather more info but now it is failing for any other reasons not related with this."},"comment":{"url":"https://api.github.com/repos/openshiftio/openshift.io/issues/comments/386974429","html_url":"https://github.com/openshiftio/openshift.io/issues/3356#issuecomment-386974429","issue_url":"https://api.github.com/repos/openshiftio/openshift.io/issues/3356","id":386974429,"user":{"login":"kishansagathiya","id":10185999,"avatar_url":"https://avatars3.githubusercontent.com/u/10185999?v=4","gravatar_id":"","url":"https://api.github.com/users/kishansagathiya","html_url":"https://github.com/kishansagathiya","followers_url":"https://api.github.com/users/kishansagathiya/followers","following_url":"https://api.github.com/users/kishansagathiya/following{/other_user}","gists_url":"https://api.github.com/users/kishansagathiya/gists{/gist_id}","starred_url":"https://api.github.com/users/kishansagathiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kishansagathiya/subscriptions","organizations_url":"https://api.github.com/users/kishansagathiya/orgs","repos_url":"https://api.github.com/users/kishansagathiya/repos","events_url":"https://api.github.com/users/kishansagathiya/events{/privacy}","received_events_url":"https://api.github.com/users/kishansagathiya/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T06:52:51Z","updated_at":"2018-05-07T06:52:51Z","author_association":"COLLABORATOR","body":"@maxandersen @alexeykazakov @krishnapaparaju \r\nHow about adding logic in the UI to keep checking for whether the jenkins is up or not. And Whatever request that is being sent on clicking the promote button, send it once jenkins is up.\r\nCheckout https://github.com/fabric8-services/fabric8-jenkins-proxy/blob/master/static/html/index.html#L33-L51\r\nClearly with this approach, promotion will take time equal to time taken to start jenkins "}}
{"actor":{"display_login":"kishansagathiya"}}