Open busch-matthias opened 6 years ago
I don't think so, this variable is normally used to tell whether we're executing the build scripts in the actual CI environment or in our local machines.
To emulate the CI environment we can always execute bbrun
with --env CI=true
Yes it should. the point of this tool is to simulate bitbucket pipelines.
Reopening for discussion. Will reevaluate based on what other CLI tools are doing (circlecli CLI, travis CLI, etc...)
Just my 2cents. But I think as an emulator of the bitbucket pipeline it should. I for instance use the presence of this variable to set up the testing environment. I agree --env CI=true
could be used but that represents poor discoverability and doesn't seem to do what is in the description
I think Bitbucket use the environment Variable "CI" to indicate that the script is running on a pipeline. Should bbrun automatically set CI to "true" ?