Re: Unpublishing build artifacts

2021-03-31 Thread Slide
You could add an Action to the Run ( https://javadoc.jenkins-ci.org/hudson/model/Run.html#addAction-hudson.model.Action-) to store information about the artifact location on the server. Then when you are getting a delete, you could look for the Action and pull the necessary information from there.

Unpublishing build artifacts

2021-03-31 Thread Tim Van Holder
Hi, I'm looking at adding support for unpublishing build artifacts. Basically, our .NET-based jobs create NuGet packages which are added as artifacts for the run but also pushed to a package server. For our non-release CI jobs, I want to look at automating cleanup so that when the job is