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!
Trigger build by NuGet release
-
Apologies if the answer to this question is very obvious, but after reading documentation I'm not quite sure how to achieve the following:
I want to be able to automatically trigger a build and deployment to Integration whenever a new version of a certain NuGet package is released. But I can seem tofind where I could setup the trigger that looks at the version of the NuGet package.
Thanks for any pointers!
Justin
-
Hi @Justinvolved ,
We don't currently have that type of monitor/trigger, but it's something we'd like to support in the future... in addition to new triggers like for Docker images, etc. Our extensible ResourceMonitor Feature is capable of handling this, but it just needs to be coded.
If you're interested, it'd be relatively easy...
- Create a create a class called
PackageVersion
that will store latest version number of a package (like Revision Number on SvnRepositoryCommit.cs) - Create a resource monitor that queries for package versions (like how SvnRepositoryMonitor.cs monitors paths)
Hope that helps !
Cheers,
Alana
- Create a create a class called
-