script module, args / env

If I am using the script module, is there a way to set env vars or args to my script? For example, if there is some script and I would normally run SOME_ENV_VAR=foo ./myscript or ./myscript bar , is there some way to do that? E.g.
type: script
scripts:
- SOME_ENV_VAR=foo myscript.sh bar
type: script
scripts:
- SOME_ENV_VAR=foo myscript.sh bar
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?

script module, args / env - BlueBuild