Build command in command prompt seems to fail.
NCDuneZerna opened this issue · comments
When I run the command
K6_INFLUXDB_ORGANIZATION=myorg
K6_INFLUXDB_BUCKET=mybucket
K6_INFLUXDB_TOKEN=mytoken
./k6 run -o xk6-influxdb=http://localhost:8086 myscript.js
I get this error message:
K6_INFLUXDB_ORGANIZATION=myorg : The term 'K6_INFLUXDB_ORGANIZATION=myorg' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
included, verify that the path is correct and try again.
At line:1 char:1
- K6_INFLUXDB_ORGANIZATION=myorg \
-
+ CategoryInfo : ObjectNotFound: (K6_INFLUXDB_ORGANIZATION=myorg:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
K6_INFLUXDB_BUCKET=mybucket : The term 'K6_INFLUXDB_BUCKET=mybucket' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:2 char:1
- K6_INFLUXDB_BUCKET=mybucket \
-
+ CategoryInfo : ObjectNotFound: (K6_INFLUXDB_BUCKET=mybucket:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
K6_INFLUXDB_TOKEN=mytoken : The term 'K6_INFLUXDB_TOKEN=mytoken' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and t
ry again.
At line:3 char:1
- K6_INFLUXDB_TOKEN=mytoken
-
+ CategoryInfo : ObjectNotFound: (K6_INFLUXDB_TOK...mytoken:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
This command was written on a Mac. I believe on Windows, the line continuation character may be a "`" or "^" depending upon your exact setup.
Closing this issue for now, feel free to update if problems persist.