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

[branch-api] Extract event handlers in PropertyMigration/MonitorImpl/message.jelly

    • 2.1182.va_e67548fb_ed2

        [JENKINS-73947] [branch-api] Extract event handlers in PropertyMigration/MonitorImpl/message.jelly

        Basil Crow added a comment -

        Pretty hard to get this administrative monitor to appear through a supported mechanism, but I was able to induce it to appear with the following in the script console:

        import hudson.model.AdministrativeMonitor
        import jenkins.branch.PropertyMigration.MonitorImpl
        import jenkins.branch.NoTriggerOrganizationFolderProperty
        
        def monitor = ExtensionList.lookup(AdministrativeMonitor.class).get(MonitorImpl.class)
        monitor.add(new NoTriggerOrganizationFolderProperty.PropertyMigrationImpl())
        

        Basil Crow added a comment - Pretty hard to get this administrative monitor to appear through a supported mechanism, but I was able to induce it to appear with the following in the script console: import hudson.model.AdministrativeMonitor import jenkins.branch.PropertyMigration.MonitorImpl import jenkins.branch.NoTriggerOrganizationFolderProperty def monitor = ExtensionList.lookup(AdministrativeMonitor.class).get(MonitorImpl.class) monitor.add( new NoTriggerOrganizationFolderProperty.PropertyMigrationImpl())

        Basil Crow added a comment -

        Basil Crow added a comment - Fixed in jenkinsci/branch-api-plugin#490 . Released in 2.1182.va_e67548fb_ed2 .

          yafenkin Yaroslav Afenkin
          basil Basil Crow
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: