Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Can the Jenkins ProGet plugin upload to an Asset dir?



  • Hi,
    I'm looking at uploading files to the Asset Library from my Jenkins pipeline. I know there's a good API but i thought i'd try the plugin first. It looks like the plugin isn't meant to work with Assets?

    It seems that the plugin is always going to try to upload to https://proget.myorg.com/upack/<my feed info>, but the Asset Directory API specifies https://proget.myorg.com/endpoints/<my dir name> - note the lack of the upack node in there.

    Is there any way to get the jenkins plugin to publish to an Asset Directory, or is the API the only way?

    thanks!


  • inedo-engineer

    Hi @mcascone ,

    The ProGet Jenkins Plugin is designed for creating and publishing universal packages, so it won't work for assets.

    The Asset Directory API is really simple though, and a simple PUT with curl or Invoke-WebRequest will do the trick. hopefully that's easy enough to implement :)

    Cheers,
    Alana



  • It is pretty easy; I just wanted to know. Thanks for the reply!


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation