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

Remove usages of Prototype from Global Build Stats

XMLWordPrintable

    • 282.v79ca_e079d1b_1

      See this blog post for details. Prototype will eventually be removed from Jenkins core. To prepare for this transition, this plugin must be migrated away from Prototype. The blog post contains instructions on how to find and eliminate usages of Prototype. In this plugin, the following usages of Prototype have been identified. This may not be an exhaustive list:

      hudson/plugins/global_build_stats/GlobalBuildStatsPlugin/index.jelly:  new Event.observe(window, 'load', function(){
      hudson/plugins/global_build_stats/GlobalBuildStatsPlugin/retentionStrategies/discardResultsOlderThanDays.jelly:        $$('${strategy.id}_checkbox').onchange(); // For initialization
      hudson/plugins/global_build_stats/GlobalBuildStatsPlugin/retentionStrategies/discardResultsOlderThanDays.jelly:        $$('${strategy.id}_checkbox').onchange = function(){
      hudson/plugins/global_build_stats/GlobalBuildStatsPlugin/retentionStrategies/discardResultsOlderThanDays.jelly:            $$('${strategy.id}_days').disabled = !$$('${strategy.id}_checkbox').checked;
      

            victor_yousician Victor Balakine
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: