{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/issues/7527","repository_url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks","labels_url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/issues/7527/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/issues/7527/comments","events_url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/issues/7527/events","html_url":"https://github.com/Microsoft/azure-pipelines-tasks/issues/7527","id":334115525,"node_id":"MDU6SXNzdWUzMzQxMTU1MjU=","number":7527,"title":"Jenkins Queue Job's 'wait for pipeline completion' should not wait on disabled jobs","user":{"login":"pjquirk","id":4342511,"node_id":"MDQ6VXNlcjQzNDI1MTE=","avatar_url":"https://avatars1.githubusercontent.com/u/4342511?v=4","gravatar_id":"","url":"https://api.github.com/users/pjquirk","html_url":"https://github.com/pjquirk","followers_url":"https://api.github.com/users/pjquirk/followers","following_url":"https://api.github.com/users/pjquirk/following{/other_user}","gists_url":"https://api.github.com/users/pjquirk/gists{/gist_id}","starred_url":"https://api.github.com/users/pjquirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjquirk/subscriptions","organizations_url":"https://api.github.com/users/pjquirk/orgs","repos_url":"https://api.github.com/users/pjquirk/repos","events_url":"https://api.github.com/users/pjquirk/events{/privacy}","received_events_url":"https://api.github.com/users/pjquirk/received_events","type":"User","site_admin":false},"labels":[{"id":429249870,"node_id":"MDU6TGFiZWw0MjkyNDk4NzA=","url":"https://api.github.com/repos/Microsoft/azure-pipelines-tasks/labels/Area:%20CrossPlatform","name":"Area: CrossPlatform","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":{"login":"madhurig","id":3269636,"node_id":"MDQ6VXNlcjMyNjk2MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/3269636?v=4","gravatar_id":"","url":"https://api.github.com/users/madhurig","html_url":"https://github.com/madhurig","followers_url":"https://api.github.com/users/madhurig/followers","following_url":"https://api.github.com/users/madhurig/following{/other_user}","gists_url":"https://api.github.com/users/madhurig/gists{/gist_id}","starred_url":"https://api.github.com/users/madhurig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhurig/subscriptions","organizations_url":"https://api.github.com/users/madhurig/orgs","repos_url":"https://api.github.com/users/madhurig/repos","events_url":"https://api.github.com/users/madhurig/events{/privacy}","received_events_url":"https://api.github.com/users/madhurig/received_events","type":"User","site_admin":false},"assignees":[{"login":"madhurig","id":3269636,"node_id":"MDQ6VXNlcjMyNjk2MzY=","avatar_url":"https://avatars2.githubusercontent.com/u/3269636?v=4","gravatar_id":"","url":"https://api.github.com/users/madhurig","html_url":"https://github.com/madhurig","followers_url":"https://api.github.com/users/madhurig/followers","following_url":"https://api.github.com/users/madhurig/following{/other_user}","gists_url":"https://api.github.com/users/madhurig/gists{/gist_id}","starred_url":"https://api.github.com/users/madhurig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madhurig/subscriptions","organizations_url":"https://api.github.com/users/madhurig/orgs","repos_url":"https://api.github.com/users/madhurig/repos","events_url":"https://api.github.com/users/madhurig/events{/privacy}","received_events_url":"https://api.github.com/users/madhurig/received_events","type":"User","site_admin":false},{"login":"kelliejos","id":31480321,"node_id":"MDQ6VXNlcjMxNDgwMzIx","avatar_url":"https://avatars0.githubusercontent.com/u/31480321?v=4","gravatar_id":"","url":"https://api.github.com/users/kelliejos","html_url":"https://github.com/kelliejos","followers_url":"https://api.github.com/users/kelliejos/followers","following_url":"https://api.github.com/users/kelliejos/following{/other_user}","gists_url":"https://api.github.com/users/kelliejos/gists{/gist_id}","starred_url":"https://api.github.com/users/kelliejos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kelliejos/subscriptions","organizations_url":"https://api.github.com/users/kelliejos/orgs","repos_url":"https://api.github.com/users/kelliejos/repos","events_url":"https://api.github.com/users/kelliejos/events{/privacy}","received_events_url":"https://api.github.com/users/kelliejos/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-20T14:50:10Z","updated_at":"2018-11-21T16:43:18Z","closed_at":"2018-11-21T16:43:17Z","author_association":"CONTRIBUTOR","body":"(reported in email from Rodrigo Antunes)\r\n\r\n## Issue Description\r\n> I’ve setup a TFS and Jenkins integration and the Jenkins job is triggered properly. However, when it finished, TFS build gets stuck on this step:\r\n>\r\n>        locateExecution()\r\n>        pipeline, locating child execution URL:http://<redacted>/api/json\r\n>        locateExecution().requestCallback()\r\n>\r\n> ... I’ve detected that there were a dependent job configured on Jenkins, and that job is disabled.  I would assume that TFS wouldn’t wait for it, since it’s disabled, but it seems to do.\r\n>\r\n> I’ve disabled the “wait for pipeline completion” option on TFS build and it has completed successfully.\r\n\r\nIt seems that when [finding jobs in the pipeline to capture, the task does not filter out disabled jobs](https://github.com/Microsoft/vsts-tasks/blob/dabc382bcc98750676c3f1a79c17f39c7fe47e26/Tasks/JenkinsQueueJobV2/job.ts#L278)."}}
{"actor":{"display_login":"kelliejos"}}