Skip to content

[Feature request] Ability to pass user and password for authentication to get command? #58

@lMartin3

Description

@lMartin3

It would be great if we could pass credentials to the get command. I currently have Jenkins set up to automatically build my plugins from the main branch, but as it is not public, I have to pass in the username and password/token.

[mc-image-helper] 11:34:20.562 ERROR : 'get' command failed: Failed to download https://[user]:[password]@ci.martinl.dev/job/Core/lastSuccessfulBuild/artifact/ProxyCore/build/libs/ProxyCore-1.0.0-all.jar: status code: 404, reason phrase: Not Found

Jenkins actually returns 404 if you're not authenticated. This is happening because get doesn't take in username and password via user:pass@link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions