We use the Artifactory Jenkins plugin in combination with Conan. In our jenkinsfile we use the following line to delete old builds and artifacts:
buildInfo.retention maxBuilds: 3, deleteBuildArtifacts: true, async: true
However, this does not delete the entire package. The following folders and files remain in the Artifactory:
Used versions: Artifactory Jenkins Plugin: 3.6.1
Does anyone have similar problems or sees a bug in my code?