We're updating the issue view to help you get more done. 

Add cache-based deletion option to JJB

Description

JJB currently supports two ways to delete jobs:

  1. The delete command which deletes specific jobs that are specified on the command line

  2. 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.

Status

Assignee

infra

Reporter

Barak Korren

Blocked By

None

Components

Priority

Medium