mirror of
https://github.com/gosticks/brew.git
synced 2026-08-13 05:00:20 +00:00
bin/brew: set CI variable.
It's currently unset on Azure Pipelines and Jenkins so let's set it here for consistency across our ecosystem.
This commit is contained in:
@@ -65,6 +65,12 @@ do
|
||||
export "$VAR_NEW"="${!VAR}"
|
||||
done
|
||||
|
||||
# Set CI variable for Azure Pipelines, Jenkins.
|
||||
if [[ -n "$TF_BUILD" || -n "$JENKINS_HOME" ]]
|
||||
then
|
||||
export CI="1"
|
||||
fi
|
||||
|
||||
# test-bot does environment filtering itself
|
||||
if [[ -z "$HOMEBREW_NO_ENV_FILTERING" && "$1" != "test-bot" ]]
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user