gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 194/282: ci/tests: Make sure that the AZURE_ACCESS_TOKEN is avai


From: gnunet
Subject: [gnurl] 194/282: ci/tests: Make sure that the AZURE_ACCESS_TOKEN is available
Date: Wed, 01 Apr 2020 14:30:59 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 597cf2f1f38125607598982ce427dea833f418b0
Author: Marc Hoersken <address@hidden>
AuthorDate: Sun Mar 1 14:43:58 2020 +0100

    ci/tests: Make sure that the AZURE_ACCESS_TOKEN is available
    
    For security reasons the access token is not available to PR builds.
    Therefore we should not try to use the DevOps API with an empty token.
---
 tests/azure.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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'}) {

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]