{"action":"created","issue":{"url":"https://api.github.com/repos/mibexsoftware/bamboo-plan-dsl-plugin/issues/54","repository_url":"https://api.github.com/repos/mibexsoftware/bamboo-plan-dsl-plugin","labels_url":"https://api.github.com/repos/mibexsoftware/bamboo-plan-dsl-plugin/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/mibexsoftware/bamboo-plan-dsl-plugin/issues/54/comments","events_url":"https://api.github.com/repos/mibexsoftware/bamboo-plan-dsl-plugin/issues/54/events","html_url":"https://github.com/mibexsoftware/bamboo-plan-dsl-plugin/issues/54","id":247054076,"number":54,"title":"Artifact Download task creation fail","user":{"login":"cosimomeli","id":11272734,"avatar_url":"https://avatars2.githubusercontent.com/u/11272734?v=4","gravatar_id":"","url":"https://api.github.com/users/cosimomeli","html_url":"https://github.com/cosimomeli","followers_url":"https://api.github.com/users/cosimomeli/followers","following_url":"https://api.github.com/users/cosimomeli/following{/other_user}","gists_url":"https://api.github.com/users/cosimomeli/gists{/gist_id}","starred_url":"https://api.github.com/users/cosimomeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosimomeli/subscriptions","organizations_url":"https://api.github.com/users/cosimomeli/orgs","repos_url":"https://api.github.com/users/cosimomeli/repos","events_url":"https://api.github.com/users/cosimomeli/events{/privacy}","received_events_url":"https://api.github.com/users/cosimomeli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-08-01T12:35:30Z","updated_at":"2017-09-27T12:07:53Z","closed_at":null,"author_association":"NONE","body":"I'm making a plan which has 3 tasks (2 artifacts download and 1 script).\r\nIt's something like:\r\n```\r\nartifactDownload {\r\n    description 'Get artifact'\r\n    artifact('base') {\r\n        destinationPath 'infrastructure'\r\n        sourcePlanKey 'ICI-TB'\r\n        }\r\n}\r\n\r\nartifactDownload {\r\n    description 'Get artifact 2'\r\n    artifact('ami') {\r\n        destinationPath 'infrastructure'\r\n        sourcePlanKey 'ICI-BBA'\r\n        }\r\n}\r\n\r\nscript {\r\n      description 'validate'\r\n      inline {\r\n          interpreter ScriptInterpreter.RUN_AS_EXECUTABLE\r\n          workingSubDirectory 'infrastructure/bundles'\r\n          scriptBody '''set -eo pipefail                    \r\n                    some function call'''.stripMargin()\r\n       }\r\n}\r\n```\r\nI'm sure both the shared artifacts exist. But when I run the plugin I get this output:\r\n\r\n[log.txt](https://github.com/mibexsoftware/bamboo-plan-dsl-plugin/files/1189911/log.txt)\r\n\r\nI found that removing the script task makes the plugin runs correctly. Seems like there's an interference between the functions.\r\n\r\nI hope you can solve this soon, I really need it."},"comment":{"url":"https://api.github.com/repos/mibexsoftware/bamboo-plan-dsl-plugin/issues/comments/332499928","html_url":"https://github.com/mibexsoftware/bamboo-plan-dsl-plugin/issues/54#issuecomment-332499928","issue_url":"https://api.github.com/repos/mibexsoftware/bamboo-plan-dsl-plugin/issues/54","id":332499928,"user":{"login":"cosimomeli","id":11272734,"avatar_url":"https://avatars2.githubusercontent.com/u/11272734?v=4","gravatar_id":"","url":"https://api.github.com/users/cosimomeli","html_url":"https://github.com/cosimomeli","followers_url":"https://api.github.com/users/cosimomeli/followers","following_url":"https://api.github.com/users/cosimomeli/following{/other_user}","gists_url":"https://api.github.com/users/cosimomeli/gists{/gist_id}","starred_url":"https://api.github.com/users/cosimomeli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosimomeli/subscriptions","organizations_url":"https://api.github.com/users/cosimomeli/orgs","repos_url":"https://api.github.com/users/cosimomeli/repos","events_url":"https://api.github.com/users/cosimomeli/events{/privacy}","received_events_url":"https://api.github.com/users/cosimomeli/received_events","type":"User","site_admin":false},"created_at":"2017-09-27T12:07:53Z","updated_at":"2017-09-27T12:07:53Z","author_association":"NONE","body":"Sorry, I had no time to test it again as I abandoned that plan and I will not be able to test it soon so I think this issue can be closed. I'll open a new one in case the issue is still there."}}
{"actor":{"display_login":"cosimomeli"}}