Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25102

Make YamlDecorator use a SaveableListener to be more general

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • yaml-project-plugin
    • None

      If we want to use the DSL with things other than Jobs (e.g. View), we need to change the type of object we listen to from ItemListener to SaveableListener.

      See: https://github.com/jenkinsci/yaml-project-plugin/blob/master/src/main/java/com/google/jenkins/plugins/dsl/YamlDecorator.java#L50

            mattmoor Matthew Moore
            mattmoor Matthew Moore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: