Skip to content

[Question]: Maven Authenticate - The "path" argument must be of type string. Received undefined #19553

Closed
@scmdavid

Description

Task name

Maven Authenticate

Task version

0.231.0

Environment type (Please select at least one enviroment where you face this issue)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

ubuntu 22.04

Question

The task failed with The "path" argument must be of type string. Received undefined

##[debug]Evaluating condition for step: 'Maven Authenticate'
##[debug]Evaluating: succeeded()
##[debug]Evaluating succeeded:
##[debug]=> True
##[debug]Result: True
Starting: Maven Authenticate
==============================================================================
Task         : Maven Authenticate
Description  : Provides credentials for Azure Artifacts feeds and external maven repositories
Version      : 0.231.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/package/maven-authenticate
==============================================================================
##[debug]Using node path: /home/myagent/externals/node16/bin/node
##[debug]agent.TempDirectory=/home/myagent/_work/_temp
##[debug]loading inputs and endpoints
##[debug]loading INPUT_ARTIFACTSFEEDS
##[debug]loading ENDPOINT_AUTH_SYSTEMVSSCONNECTION
##[debug]loading ENDPOINT_AUTH_SCHEME_SYSTEMVSSCONNECTION
##[debug]loading ENDPOINT_AUTH_PARAMETER_SYSTEMVSSCONNECTION_ACCESSTOKEN
##[debug]loaded 4
##[debug]Agent.ProxyUrl=undefined
##[debug]Agent.CAInfo=undefined
##[debug]Agent.ClientCert=undefined
##[debug]Agent.SkipCertValidation=undefined
##[debug]check path : /home/myagent/_work/_tasks/MavenAuthenticate_d4b964f9-ea90-41bb-9526-29589628ad90/0.231.0/node_modules/azure-pipelines-tasks-artifacts-common/module.json
##[debug]adding resource file: /home/myagent/_work/_tasks/MavenAuthenticate_d4b964f9-ea90-41bb-9526-29589628ad90/0.231.0/node_modules/azure-pipelines-tasks-artifacts-common/module.json
##[debug]system.culture=en-US
##[debug]check path : /home/myagent/_work/_tasks/MavenAuthenticate_d4b964f9-ea90-41bb-9526-29589628ad90/0.231.0/task.json
##[debug]adding resource file: /home/myagent/_work/_tasks/MavenAuthenticate_d4b964f9-ea90-41bb-9526-29589628ad90/0.231.0/task.json
##[debug]system.culture=en-US
##[debug]artifactsFeeds=azure-artifacts
##[debug]Generating configs for 1 internal feeds.
##[debug]Getting credentials for local feeds
##[debug]SYSTEMVSSCONNECTION exists true
##[debug]Got auth token
##[debug]mavenServiceConnections=undefined
##[debug]task result: Failed
##[error]The "path" argument must be of type string. Received undefined
##[debug]Processed: ##vso[task.issue type=error;]The "path" argument must be of type string. Received undefined
##[debug]Processed: ##vso[task.complete result=Failed;]The "path" argument must be of type string. Received undefined

The Maven repo is Azure Artifact. This task worked fine in Microsoft Hosted agent.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions