diff --git a/merlin-server/build.gradle b/merlin-server/build.gradle index 0784839dbc..78100104de 100644 --- a/merlin-server/build.gradle +++ b/merlin-server/build.gradle @@ -56,7 +56,7 @@ test { } // Add node bin directory to PATH, helps CI/CD services without node installed - environment 'NODE_PATH', nodeSetup.nodeDir.get().toString().concat("/bin/node") + environment 'NODE_PATH', node.computedNodeDir.get().toString().concat("/bin/node") environment "CONSTRAINTS_DSL_COMPILER_ROOT", projectDir.toPath().resolve('constraints-dsl-compiler') environment "CONSTRAINTS_DSL_COMPILER_COMMAND", './build/main.js' diff --git a/scheduler-worker/build.gradle b/scheduler-worker/build.gradle index 10abb5f724..89b673f2d2 100644 --- a/scheduler-worker/build.gradle +++ b/scheduler-worker/build.gradle @@ -79,7 +79,7 @@ test { } // Add node bin directory to PATH, helps CI/CD services without node installed - environment 'NODE_PATH', nodeSetup.nodeDir.get().toString().concat("/bin/node") + environment 'NODE_PATH', node.computedNodeDir.get().toString().concat("/bin/node") environment "SCHEDULING_DSL_COMPILER_ROOT", projectDir.toPath().resolve('scheduling-dsl-compiler') environment "SCHEDULING_DSL_COMPILER_COMMAND", './build/main.js'