diff --git a/tests/azure.pm b/tests/azure.pm index ef0bb6211..4a450148b 100644 --- a/tests/azure.pm +++ b/tests/azure.pm @@ -27,7 +27,7 @@ use warnings; use POSIX qw(strftime); sub azure_check_environment { - if(defined $ENV{'AZURE_ACCESS_TOKEN'} && + if(defined $ENV{'AZURE_ACCESS_TOKEN'} && $ENV{'AZURE_ACCESS_TOKEN'} defined $ENV{'AGENT_JOBNAME'} && $ENV{'BUILD_BUILDID'} && defined $ENV{'SYSTEM_TEAMFOUNDATIONCOLLECTIONURI'} && defined $ENV{'SYSTEM_TEAMPROJECTID'}) {