For a couple of releases we have the problem that the referenced NuGet packages get removed after a few days.
When opening such a release the following error message is shown underneath every referenced package:
Failed to reteive notes
See screenshot here.
The referenced NuGet packages are hosted in the Octopus NuGet repository.
When this occurs we are not able to promote this release to another environment. We have to republish those packages to the NuGet feed to be able to continue with the release. Even after republishing the packages, and continuing the release, the packages get removed again after 5 days (which is the retention policy of the built-in repository).
It seems to me that this is a bug in the retention policy of the built-in repository. Somehow Octopus doesn’t know that these packages are in use by an existing release.
- The packages which are removed are used in a “Run a script on the Octopus Server” process step.
- In this step the package is set as the package ID of the referenced package.
- The package ID is hard set, no variable name is used.
- The built-in repository currently contains more than 10 000 packages.
So, is this a bug?
Can you fix it?
Thanks in advance!