Summary: Add cache-based deletion option to JJB Key: OVIRT-2030 URL: https://ovirt-jira.atlassian.net/browse/OVIRT-2030 Project: oVirt - virtualization made easy Issue Type: Improvement Components: JJB Reporter: Barak Korren Assignee: infra
JJB currently supports two ways to delete jobs:
# The {{delete}} command which deletes specific jobs that are specified on the command line # The {{--delete-old}] option to the {{update}} command which delete all jobs in Jenkins that are not included in the current update.
Both thes options do not do what we want whic is to delete all jobs not included in the current update that were previously manage by JJB.
To get this functionality we've made our scripts check the difference between to current and previous commits to find out which jobs were deleted. Instead we would like JJB to have the option for the {{update}} command to inspect the job cache from previous run (Or generated as explained in OVIRT-2029), and delete jobs found there that are not included in current update.
— This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100085)