From aa6e82e53bd9b9a3270d7a8002648227aff49d8f Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 7 Feb 2020 13:37:16 +0100 Subject: [PATCH] give it the access token like this maybe --- azure-pipelines.yml | 1 + build.gradle | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 903f2431..93947ec1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,6 +12,7 @@ pool: variables: GRADLE_USER_HOME: $(Pipeline.Workspace)/.gradle BUILD_NUMBER: $(Build.BuildId) + ACCESS_TOKEN: $(System.AccessToken) steps: - task: Cache@2 diff --git a/build.gradle b/build.gradle index 54fe125e..43f8efc1 100644 --- a/build.gradle +++ b/build.gradle @@ -149,7 +149,7 @@ publishing { name 'NaturesAura' credentials { username "Azure DevOps Services" - password System.getenv("Azure DevOps Services_ENV_ACCESS_TOKEN") + password System.getenv("ACCESS_TOKEN") } } }