{"action":"reopened","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1796","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1796/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1796/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1796/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/1796","id":156957678,"number":1796,"title":"Release 'Publish Build Artifacts' fails with 'Unable to find container for build'","user":{"login":"sabiori","id":19437249,"avatar_url":"https://avatars.githubusercontent.com/u/19437249?v=3","gravatar_id":"","url":"https://api.github.com/users/sabiori","html_url":"https://github.com/sabiori","followers_url":"https://api.github.com/users/sabiori/followers","following_url":"https://api.github.com/users/sabiori/following{/other_user}","gists_url":"https://api.github.com/users/sabiori/gists{/gist_id}","starred_url":"https://api.github.com/users/sabiori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabiori/subscriptions","organizations_url":"https://api.github.com/users/sabiori/orgs","repos_url":"https://api.github.com/users/sabiori/repos","events_url":"https://api.github.com/users/sabiori/events{/privacy}","received_events_url":"https://api.github.com/users/sabiori/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"GitHubSriramB","id":13654692,"avatar_url":"https://avatars.githubusercontent.com/u/13654692?v=3","gravatar_id":"","url":"https://api.github.com/users/GitHubSriramB","html_url":"https://github.com/GitHubSriramB","followers_url":"https://api.github.com/users/GitHubSriramB/followers","following_url":"https://api.github.com/users/GitHubSriramB/following{/other_user}","gists_url":"https://api.github.com/users/GitHubSriramB/gists{/gist_id}","starred_url":"https://api.github.com/users/GitHubSriramB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GitHubSriramB/subscriptions","organizations_url":"https://api.github.com/users/GitHubSriramB/orgs","repos_url":"https://api.github.com/users/GitHubSriramB/repos","events_url":"https://api.github.com/users/GitHubSriramB/events{/privacy}","received_events_url":"https://api.github.com/users/GitHubSriramB/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-05-26T10:57:08Z","updated_at":"2016-06-01T01:43:12Z","closed_at":null,"body":"Hi, I am trying to publish some test results from the release agent working folder using the task 'Publish Build Artifacts' that I put into my release definition, but it fails with:\r\n##[error]Unable to find container for build: 88\r\n\r\nI think 88 is the id of the build that triggered the release.\r\n\r\nInterestingly, I have another 'Publish Build Artifacts' in my build definition and that works just fine.\r\n\r\nHere is the task setup from my release definition\r\nhttps://cloud.githubusercontent.com/assets/19437249/15373889/9c929e84-1d3f-11e6-9799-b9ea57103b79.png\r\n\r\nAnd this is all the log output of the task:\r\nSet workingFolder to default: C:\\LR\\MMS\\Services\\Mms\\TaskAgentProvisioner\\Tools\\agents\\1.99.0\\tasks\\PublishBuildArtifacts\\1.0.30 \r\n##[debug]loading inputs and endpoints \r\n##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION \r\n##[debug]loading INPUT_ARTIFACTNAME \r\n##[debug]loading INPUT_ARTIFACTTYPE \r\n##[debug]loading INPUT_PATHTOPUBLISH \r\n##[debug]loading INPUT_TARGETPATH\r\n##[debug]loaded 5\r\n##[debug]check path : C:\\LR\\MMS\\Services\\Mms\\TaskAgentProvisioner\\Tools\\agents\\1.99.0\\tasks\\PublishBuildArtifacts\\1.0.30\\task.json \r\n##[debug]set resource file to: C:\\LR\\MMS\\Services\\Mms\\TaskAgentProvisioner\\Tools\\agents\\1.99.0\\tasks\\PublishBuildArtifacts\\1.0.30\\task.json \r\n##[debug]system.culture=en-US \r\n##[debug]PathtoPublish=C:\\a\\1196b1921\\requirementsCoverage.html \r\n##[debug]check path : C:\\a\\1196b1921\\requirementsCoverage.html \r\n##[debug]ArtifactName=ReqirementCoverage \r\n##[debug]ArtifactType=Container \r\n##[debug]TargetPath=\\my\\share\\waverage.feature\\waverage_plan_in_traderwebapp_2016_05_18.5 \r\n##[error]Unable to find container for build: 88\r\n\r\nCould you help me find out what the problem is?\r\n\r\nOr in case this task is not supported in a release definition, is there a way around this? Something like using cUrl or powershell to attach the files to the release using the VSO Rest API?"}}
{"actor":{"display_login":"bryanmacfarlane"}}