diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 93947ec1..903f2431 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,7 +12,6 @@ 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 43f8efc1..ef21bb1d 100644 --- a/build.gradle +++ b/build.gradle @@ -147,9 +147,8 @@ publishing { maven { url 'https://pkgs.dev.azure.com/Ellpeck/NaturesAura/_packaging/NaturesAura/maven/v1' name 'NaturesAura' - credentials { - username "Azure DevOps Services" - password System.getenv("ACCESS_TOKEN") + authentication { + basic(BasicAuthentication) } } }