You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im using the tasks.json file to configure my grunt Tasks. Some of them expectect that a given environment variable is set, because they normally are executed with Jenkins where the used plugins for the job execution sets some environment variables I evaluate within the grunt tasks.
It would be awesome if it's possible to pass an array of environment variables, like it's possible with the command args, for example:
{
"taskName": "myCustomGruntTask",
"identifier": "myCustomGruntTask",
"args": [""],
// Set some environment variables here
"env": [
{ "PATH": "$PATH;Some value ..." },
{ "BRANCH_NAME": "testBranch" },
.
.
.
]
"isBuildCommand": true,
"isWatching": false,
"problemMatcher": [
"$lessCompile",
"$tsc",
"$jshint"
]
}
The text was updated successfully, but these errors were encountered:
This works if the task defines its own command and doesn't inherit the command from the global scope. Keep a feature request open to support this in a global use case as well.
Im using the tasks.json file to configure my grunt Tasks. Some of them expectect that a given environment variable is set, because they normally are executed with Jenkins where the used plugins for the job execution sets some environment variables I evaluate within the grunt tasks.
It would be awesome if it's possible to pass an array of environment variables, like it's possible with the command args, for example:
The text was updated successfully, but these errors were encountered: