Merge pull request #5549 from MikeMcQuaid/ci-var
bin/brew: set CI variable.
This commit is contained in:
commit
baf1215b54
6
bin/brew
6
bin/brew
@ -65,6 +65,12 @@ do
|
|||||||
export "$VAR_NEW"="${!VAR}"
|
export "$VAR_NEW"="${!VAR}"
|
||||||
done
|
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
|
# test-bot does environment filtering itself
|
||||||
if [[ -z "$HOMEBREW_NO_ENV_FILTERING" && "$1" != "test-bot" ]]
|
if [[ -z "$HOMEBREW_NO_ENV_FILTERING" && "$1" != "test-bot" ]]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user