...
Input Name | Input Code | Required | Description |
---|---|---|---|
Node Executable Path | FDGRUNT_INP_NODE_EXE_PATH | No | An absolute path to a Node executable(grunt and grunt-cli package must be installed). If not provided node must be on PATH. |
Working Directory | FDGRUNT_INP_WORKING_DIRECTORY | No | The working directory where the Grunt commands will be executed. This path can be relative or absolute. If relative the path will be relative to the temp directory. If not provided directory containing package.json will be used. |
Grunt File | FDGRUNT_INP_GRUNT_FILE | No | A Absolute or relative path to Grunt file. The Relative path will be relative to considered inside working directory. If not provided this value will be defaulted to gruntfile.js. |
Tasks | FDGRUNT_INP_TASKS | No | Comma separated list of grunt tasks to run. If not provided the default task will run. You can specify targets with Task:Target. |
Additional Parameters | FDGRUNT_INP_ADDITIONAL_PARAMETERS | No | Additional arguments to pass to Grunt. For example, --force, --verbose, or --stack. The Grunt file parameter (--gruntfile) is not required as it is handled with Grunt File input. This input will be appended to the grunt command as it is entered. |
Artifacts to Save | FDGRUNT_INP_ARTIFACTS_TO_SAVE | No | A relative path to a directory to save as an artifact. This path will be relative to the working directory. If not provided no artifacts will be saved. Use '.' notation to save the entire working directory. |
...