{"action":"created","issue":{"url":"https://api.github.com/repos/nextflow-io/nextflow/issues/740","repository_url":"https://api.github.com/repos/nextflow-io/nextflow","labels_url":"https://api.github.com/repos/nextflow-io/nextflow/issues/740/labels{/name}","comments_url":"https://api.github.com/repos/nextflow-io/nextflow/issues/740/comments","events_url":"https://api.github.com/repos/nextflow-io/nextflow/issues/740/events","html_url":"https://github.com/nextflow-io/nextflow/issues/740","id":331283285,"node_id":"MDU6SXNzdWUzMzEyODMyODU=","number":740,"title":"scratch directive not working for AWS Batch executor","user":{"login":"rohanshah","id":1816611,"node_id":"MDQ6VXNlcjE4MTY2MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1816611?v=4","gravatar_id":"","url":"https://api.github.com/users/rohanshah","html_url":"https://github.com/rohanshah","followers_url":"https://api.github.com/users/rohanshah/followers","following_url":"https://api.github.com/users/rohanshah/following{/other_user}","gists_url":"https://api.github.com/users/rohanshah/gists{/gist_id}","starred_url":"https://api.github.com/users/rohanshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohanshah/subscriptions","organizations_url":"https://api.github.com/users/rohanshah/orgs","repos_url":"https://api.github.com/users/rohanshah/repos","events_url":"https://api.github.com/users/rohanshah/events{/privacy}","received_events_url":"https://api.github.com/users/rohanshah/received_events","type":"User","site_admin":false},"labels":[{"id":922936676,"node_id":"MDU6TGFiZWw5MjI5MzY2NzY=","url":"https://api.github.com/repos/nextflow-io/nextflow/labels/platform/aws-batch","name":"platform/aws-batch","color":"4025a3","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-06-11T17:38:52Z","updated_at":"2018-06-12T19:40:20Z","closed_at":"2018-06-12T05:24:47Z","author_association":"NONE","body":"I tried using the `scratch` directive to set the temporary directory where Nextflow runs in an executor but it doesn't seem to work in AWS Batch executor.\r\n\r\nI tried:\r\n```\r\nprocess foo {\r\n  scratch \"/docker_scratch\"\r\n}\r\n```\r\n\r\nand (in my `nextflow.config` file)\r\n\r\n```\r\nprocess {\r\n  scratch = \"/docker_scratch\"\r\n}\r\n```\r\n\r\nNeither worked, the `nxf-tmp-dir` is still something like `/tmp/nxf.XXXXXX`"},"comment":{"url":"https://api.github.com/repos/nextflow-io/nextflow/issues/comments/396708959","html_url":"https://github.com/nextflow-io/nextflow/issues/740#issuecomment-396708959","issue_url":"https://api.github.com/repos/nextflow-io/nextflow/issues/740","id":396708959,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjcwODk1OQ==","user":{"login":"rohanshah","id":1816611,"node_id":"MDQ6VXNlcjE4MTY2MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1816611?v=4","gravatar_id":"","url":"https://api.github.com/users/rohanshah","html_url":"https://github.com/rohanshah","followers_url":"https://api.github.com/users/rohanshah/followers","following_url":"https://api.github.com/users/rohanshah/following{/other_user}","gists_url":"https://api.github.com/users/rohanshah/gists{/gist_id}","starred_url":"https://api.github.com/users/rohanshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohanshah/subscriptions","organizations_url":"https://api.github.com/users/rohanshah/orgs","repos_url":"https://api.github.com/users/rohanshah/repos","events_url":"https://api.github.com/users/rohanshah/events{/privacy}","received_events_url":"https://api.github.com/users/rohanshah/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T19:40:20Z","updated_at":"2018-06-12T19:40:20Z","author_association":"NONE","body":"thank you for trying, I will continue to dig into the issue and see if I can bring any more specific insight that might help resolve it."}}
{"actor":{"display_login":"rohanshah"}}