Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred while executing task: Error: EINVAL: invalid argument, mkdir 'G:"Project-Agent"\Agent_work_tool_jf' #511

Open
YurvajArava opened this issue Oct 22, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@YurvajArava
Copy link

YurvajArava commented Oct 22, 2024

Describe the bug

Azure DevOps pipeline failing to install JFROG
Agent OS : WIndows Server 2019

  • task: JFrogToolsInstaller@1
    displayName: 'Install jfrog'
    inputs:
    artifactoryConnection:''
    cliInstallationRepo: 'nuget-remote'

Error
Error occurred while executing task: Error: EINVAL: invalid argument, mkdir 'G:"Project-Agent"\Agent_work_tool_jf'

Alternative, i tried installing jf CLI, but no luck, below push task fails.

  • task: JFrogNuGet@1
    displayName: 'jfrog nuget push'
    inputs:
    command: 'push'
    artifactoryConnection: ''
    targetDeployRepo: 'nuget'
    pathToNupkg: 'nuget/*.nupkg'

Error
Error occurred while executing task: Error: EINVAL: invalid argument, mkdir 'G:"Project-Agent"\Agent_work_tool_jf'

Expected behavior

Should install jfrog cli and push nuget packages.

Azure DevOps extension name and version

https://github.com.mcas.ms/jfrog/jfrog-azure-devops-extension 2.10.1

JFrog CLI version

jf version 2.71.0

Operating system type and version

Window 2019

JFrog Artifactory version (if relevant)

No response

JFrog Xray version (if relevant)

No response

JFrog Distribution version (if relevant)

No response

@YurvajArava YurvajArava added the bug Something isn't working label Oct 22, 2024
@YurvajArava YurvajArava changed the title Error occurred while executing task: Error: EINVAL: invalid argument, mkdir 'G:\"Customer Engagement - Agent"\Agent-AZSU-C-APP-137\_work\_tool\_jf' Error occurred while executing task: Error: EINVAL: invalid argument, mkdir 'G:"Project-Agent"\Agent_work_tool_jf' Oct 22, 2024
@hezite
Copy link

hezite commented Jan 23, 2025

I'm getting the same error.
Verified that npm version is the same, it is.
On one windows build agent the succeeds and on another fails with
Error occurred while executing task: Error: EINVAL: invalid argument, mkdir 'c:"Project-Agent"\Agent_work_tool_jf'

I tried creating the folder manually but still getting the error.
Any updates on the matter?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants