corda-gradle-plugins
corda-gradle-plugins copied to clipboard
Dockerform fails with error when you specify a directory other than 'nodes'
Thank you for choosing to report an issue with Corda.
When reporting an issue please make sure it contains;
- A clear description of the issue
If you specify an alternate directory to the Dockerform task by using the directory field, the task fails because it still relies on the default node directory.
i.e.
task dockerNodes(type: net.corda.plugins.Dockerform, dependsOn: ['jar']) { directory "./build/small" ...
-
Any logs or stack traces that you can provide (use a site like https://pastebin.com for larger logs)
-
What went wrong: Execution failed for task ':dockerNodes'.
java.nio.file.NoSuchFileException: /Users/barry/Code/ebx_cordapp/build/nodes/docker-compose.yml
- Steps to reproduce the issue
Set the directory for the task to something other than nodes
- The version/tag/release or commit hash it occurred on
ext.corda_gradle_plugins_version = '4.0.25'
Similar issue: https://github.com/corda/corda-gradle-plugins/issues/228