Gradle Plugin cause dead loop with using ant plugin

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      gradle plugins would cause dead loop with using ant and gradle build when viewing the console output.

      the gradle plugins when loading the outline , its useĀ 

      document.getElementById("console-outline-body")

      and it has the same id with ant。 

      outline = document.getElementById("console-outline-body")
      .getElementsByTagName('ul')[0];

      when I use ant first ,ant genreate the outline, but it doesnt has a ul tag.

      so the outline is always undefined,and cause a dead loop;

      Ā 

      the source code of the grade pluginsĀ 

      gradle-plugin/[src|https://github.com/jenkinsci/gradle-plugin/tree/master/src]/[main|https://github.com/jenkinsci/gradle-plugin/tree/master/src/main]/[resources|https://github.com/jenkinsci/gradle-plugin/tree/master/src/main/resources]/[hudson|https://github.com/jenkinsci/gradle-plugin/tree/master/src/main/resources/hudson]/[plugins|https://github.com/jenkinsci/gradle-plugin/tree/master/src/main/resources/hudson/plugins]/[gradle|https://github.com/jenkinsci/gradle-plugin/tree/master/src/main/resources/hudson/plugins/gradle]/GradleTaskNote/script.js

      if (!loading) { loading = true; var u = new Ajax.Updater(document.getElementById("side-panel"), rootURL + "/descriptor/hudson.plugins.gradle.GradleTaskNote/outline", {insertion: Insertion.Bottom, onComplete: function() { if (!u.success()) return; // we can't us onSuccess because that kicks in before onComplete outline = document.getElementById("console-outline-body") .getElementsByTagName('ul')[0]; loading = false; queue.each(handle); }}); }
      

      Ā 

      Ā 

            Assignee:
            Stefan Wolf
            Reporter:
            kyle ou
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: