-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
Feature Request:
the yaml/json files have no way to declare environment variables that are used for the commands.
I tried adding a prerequisite line of set foobar=barfoo but the command doesn't inherit that. Instead it uses whatever foobar was set from the calling shell.
Would be nice if an environment variable could be set.
Maybe a new section called "environment" and you can have key value pairs.
Or maybe like I tried above, the prerequisites set calls would be repurposed by the command(s).
The first option could be passed along to the executor via the opts and sent down to spawn: https://nodejs.org/api/child_process.html#child_processspawncommand-args-options
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfesthelp wantedExtra attention is neededExtra attention is needed