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