{"action":"created","issue":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/874","repository_url":"https://api.github.com/repos/OctopusDeploy/Issues","labels_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/874/labels{/name}","comments_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/874/comments","events_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/874/events","html_url":"https://github.com/OctopusDeploy/Issues/issues/874","id":32117139,"node_id":"MDU6SXNzdWUzMjExNzEzOQ==","number":874,"title":"Search for scripts in staging directory, not current directory","user":{"login":"PaulStovell","id":47085,"node_id":"MDQ6VXNlcjQ3MDg1","avatar_url":"https://avatars2.githubusercontent.com/u/47085?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulStovell","html_url":"https://github.com/PaulStovell","followers_url":"https://api.github.com/users/PaulStovell/followers","following_url":"https://api.github.com/users/PaulStovell/following{/other_user}","gists_url":"https://api.github.com/users/PaulStovell/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulStovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulStovell/subscriptions","organizations_url":"https://api.github.com/users/PaulStovell/orgs","repos_url":"https://api.github.com/users/PaulStovell/repos","events_url":"https://api.github.com/users/PaulStovell/events{/privacy}","received_events_url":"https://api.github.com/users/PaulStovell/received_events","type":"User","site_admin":false},"labels":[{"id":62440875,"node_id":"MDU6TGFiZWw2MjQ0MDg3NQ==","url":"https://api.github.com/repos/OctopusDeploy/Issues/labels/kind/bug","name":"kind/bug","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/milestones/23","html_url":"https://github.com/OctopusDeploy/Issues/milestone/23","labels_url":"https://api.github.com/repos/OctopusDeploy/Issues/milestones/23/labels","id":588997,"node_id":"MDk6TWlsZXN0b25lNTg4OTk3","number":23,"title":"2.4","description":"","creator":{"login":"PaulStovell","id":47085,"node_id":"MDQ6VXNlcjQ3MDg1","avatar_url":"https://avatars2.githubusercontent.com/u/47085?v=4","gravatar_id":"","url":"https://api.github.com/users/PaulStovell","html_url":"https://github.com/PaulStovell","followers_url":"https://api.github.com/users/PaulStovell/followers","following_url":"https://api.github.com/users/PaulStovell/following{/other_user}","gists_url":"https://api.github.com/users/PaulStovell/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulStovell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulStovell/subscriptions","organizations_url":"https://api.github.com/users/PaulStovell/orgs","repos_url":"https://api.github.com/users/PaulStovell/repos","events_url":"https://api.github.com/users/PaulStovell/events{/privacy}","received_events_url":"https://api.github.com/users/PaulStovell/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":82,"state":"closed","created_at":"2014-03-06T04:13:04Z","updated_at":"2014-04-30T05:45:02Z","due_on":"2014-04-28T07:00:00Z","closed_at":"2014-04-30T03:53:15Z"},"comments":1,"created_at":"2014-04-24T03:09:47Z","updated_at":"2018-11-28T08:12:38Z","closed_at":"2014-04-24T03:52:26Z","author_association":"MEMBER","body":"Tentacle always extracts the package to a generated staging folder, such as:\n\n```\nC:\\Apps\\Environment\\PackageName\\1.0.0\n```\n\nWhen customers use the custom installation directory option, they can have the files copied to another location during deployment:\n\n```\nC:\\MyApp\n```\n\nIn the past, when invoking PowerShell scripts, we used to search the generated staging folder for scripts, then see if they existed in the target directory before invoking. But recently during refactoring this was changed so that we search under the target folder instead. Since the target folder may contain a lot more files, this search can take much longer. \n\nWe should revert this to the old behaviour. \n"},"comment":{"url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/comments/442357205","html_url":"https://github.com/OctopusDeploy/Issues/issues/874#issuecomment-442357205","issue_url":"https://api.github.com/repos/OctopusDeploy/Issues/issues/874","id":442357205,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjM1NzIwNQ==","user":{"login":"lock[bot]","id":33595554,"node_id":"MDM6Qm90MzM1OTU1NTQ=","avatar_url":"https://avatars1.githubusercontent.com/in/6672?v=4","gravatar_id":"","url":"https://api.github.com/users/lock%5Bbot%5D","html_url":"https://github.com/apps/lock","followers_url":"https://api.github.com/users/lock%5Bbot%5D/followers","following_url":"https://api.github.com/users/lock%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/lock%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/lock%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lock%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/lock%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/lock%5Bbot%5D/repos","events_url":"https://api.github.com/users/lock%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/lock%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-28T08:12:38Z","updated_at":"2018-11-28T08:12:38Z","author_association":"NONE","body":"This thread has been automatically locked since there has not been any recent activity after it was closed. If you think you've found a related issue, please contact our [support team](https://octopus.com/support) so we can triage your issue, and make sure it's handled appropriately.\n"}}
{"actor":{"display_login":"lock"}}