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") } } }