Bug #1886

--delete-other does not delete distribution jobs

Added by J. Wienke almost 10 years ago. Updated over 9 years ago.

Status:ResolvedStart date:05/16/2014
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Jenkins API
Target version:0.4

Description

The buildflow, prepare and post jobs are not deleted automatically when specifying the --delete-other argument.

Associated revisions

Revision 79a660fc
Added by J. Moringen over 9 years ago

Orchestration jobs are generated in src/commandline-interface/main.lisp

fixes #1886

  • src/commandline-interface/main.lisp
    (description-automatically-generated): new constant; marks jobs as
    having been automatically generated
    (configure-jobs): place value of description-automatically-generated
    in description of orchestration jobs

History

#1 Updated by J. Moringen almost 10 years ago

Will fix downstream issue http://opensource.cit-ec.de/issues/242.

#2 Updated by J. Moringen almost 10 years ago

Currently, --delete-other simply deletes all jobs that have something like "automatically generated" in their description. Adding this to the description of build-flow and prepare/finish jobs should do the trick.

On the other hand, Robert suggested the deletion should be smart and only delete jobs that previously belonged to the distribution. Maybe based on the name.

#3 Updated by J. Wienke almost 10 years ago

I'd second that idea since I just accidentally delete all other distributions. ;) Maybe different modes would also do the trick.

#4 Updated by J. Moringen almost 10 years ago

  • Target version set to 0.3

#5 Updated by J. Moringen almost 10 years ago

  • Assignee set to J. Moringen

#6 Updated by J. Moringen over 9 years ago

  • Target version changed from 0.3 to 0.4

#7 Updated by J. Moringen over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF