-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
I was hoping that
jobDsl targets: ['jobs/*.groovy', 'config-files/*.groovy', 'views/*.groovy'].join('\n'), removedJobAction: 'DELETE', removedViewAction: 'DELETE', removedConfigFilesAction: 'DELETE', lookupStrategy: 'JENKINS_ROOT', unstableOnDeprecation: true, failOnMissingPlugin: true
would also delete all jobs not managed by job-dsl - unfortunate its not. If job-dsl would have an option to remove everything it does not know about (jobs, configFiles, views) then keeping the environment cleaner would be a lot easier. Our organization could define a rule saying: 'all our items must be created via job-dsl and be reproducible everything else will be deleted.
Therefore I ask for a feature to enforce job-dsl to only keep items it knows about.