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

PeriodicWork.init() / AperiodicWork.init() does not work for dynamically-loaded plugins

    Details

    • Similar Issues:

      Description

      PeriodicWork.init() / AperiodicWork.init() are run after JOB_LOADED. If a plugin is subsequently installed which includes such an extension, its work is not run until after a Jenkins restart.

      Should use the new ExtensionListListener to detect this case and start the task.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            rtyler R. Tyler Croy made changes -
            Field Original Value New Value
            Workflow JNJira [ 163537 ] JNJira + In-Review [ 181275 ]
            teilo James Nord made changes -
            Summary PeriodicWork.init() does not work for dynamically-loaded plugins PeriodicWork.init() / AperiodicWork.init() does not work for dynamically-loaded plugins
            teilo James Nord made changes -
            Description {{PeriodicWork.init()}} is run after {{JOB_LOADED}}. If a plugin is subsequently installed which includes such an extension, its work is not run until after a Jenkins restart.

            Should use the new {{ExtensionListListener}} to detect this case and start the task.
            {{PeriodicWork.init()}} / {{AperiodicWork.init()}} are run after {{JOB_LOADED}}. If a plugin is subsequently installed which includes such an extension, its work is not run until after a Jenkins restart.

            Should use the new {{ExtensionListListener}} to detect this case and start the task.
            teilo James Nord made changes -
            Assignee James Nord [ teilo ]
            teilo James Nord made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            teilo James Nord made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            teilo James Nord made changes -
            Remote Link This issue links to "PR 3496 (Web Link)" [ 20841 ]
            stephenconnolly Stephen Connolly made changes -
            Link This issue is duplicated by JENKINS-16714 [ JENKINS-16714 ]
            teilo James Nord made changes -
            Labels lts-candidate
            Hide
            teilo James Nord added a comment -

            Will be in 2.129

            Show
            teilo James Nord added a comment - Will be in 2.129
            teilo James Nord made changes -
            Status In Review [ 10005 ] Closed [ 6 ]
            Resolution Fixed [ 1 ]
            olivergondza Oliver Gondža made changes -
            Labels lts-candidate 2.121.3-fixed

              People

              • Assignee:
                teilo James Nord
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: