Dron Plugin Error { Error: ENOENT: no such file or directory, open '/drone/src/github.com/my/repo/undefined'
at Error (native)
at Object.fs.openSync (fs.js:634:18)
at Object.fs.readFileSync (fs.js:502:33)
at Object.readFileSync (/drone-ecs-node/node_modules/jsonfile/index.js:61:20)
at /drone-ecs-node/app.js:845:37
at process._tickDomainCallback (internal/process/next_tick.js:129:7)
at Module.runMain (module.js:577:11)
at run (node.js:348:7)
at startup (node.js:140:9)
at node.js:463:3
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/drone/src/github.com/my/repo/undefined' } Error: ENOENT: no such file or directory, open '/drone/src/github.com/my/repo/undefined'
at Error (native)
at Object.fs.openSync (fs.js:634:18)
at Object.fs.readFileSync (fs.js:502:33)
at Object.readFileSync (/drone-ecs-node/node_modules/jsonfile/index.js:61:20)
at /drone-ecs-node/app.js:845:37
at process._tickDomainCallback (internal/process/next_tick.js:129:7)
at Module.runMain (module.js:577:11)
at run (node.js:348:7)
at startup (node.js:140:9)
at node.js:463:3
[info] build failed (exit code 1)
If you leave out the task_definition option it registers as
undefinedinstead ofnullans so the plugin crashes with