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

cannot open job-config page in IE8 when using groovy-postbuild plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      Master Server: Jenkins 1.410, CentOS 5.6, Groovy Postbuild 1.4
      Browser: Internet Explorer 8.0.7600.16385, Windows 7 Professional
    • Similar Issues:

      Description

      Groovy-postbuild plugin is a great work, thanks !
      However, the trouble below has occurred in our Jenkins since I wrote a experimental job using this plugin.

      When someone tries to open any job-config page of any job in IE8, IE8 raises a javascript error as follows:

      No Object, Line: 812, Character: 29, Code: 0
      URI: http://ourjenkins/ourPrefix/static/4b0b67f3/scripts/hudson-behavior.js
      
         "TR.row-set-end": function(e) { // see rowSet.jelly and optionalBlock.jelly
              // figure out the corresponding start block
              var end = e;
      
              for( var depth=0; ; e=e.previousSibling) { ## here ##
      

      Sorry if I'm wrong and if it's a FAQ, but

      • When disabled this plugin, we can open job config page in IE8
      • Other Jenkins without this plugin works well in IE8
      • No trouble at least when using Firefox and Chrome browsers

      So I suppose this plugins affects some outputs (ex. javascript and/or html) to browsers, and IE8 is sensitive? to them.

        Attachments

          Activity

          Hide
          yamabb Yama Tksh added a comment -

          My trial groovy postbuild script is very simple and primitive one (I'm a newbie to groovy...):

          allItems = manager.hudson.items
          activeJobs = allItems.findAll{job -> job.isBuildable()}
          failedRuns = activeJobs.findAll{job -> job.lastBuild && job.lastBuild.result == hudson.model.Result.FAILURE}
          if (failedRuns.size() > 0)  {
            manager.addWarningBadge("Failed jobs !")
            summary = manager.createSummary("warning.gif")
            failedRuns.each{run -> summary.appendText(run.name, false)  }
          } else {
            manager.addInfoBadge("No failure")
            summary = manager.createSummary("blue.gif")
            summary.appendText("No failed jobs", false);
          }
          
          Show
          yamabb Yama Tksh added a comment - My trial groovy postbuild script is very simple and primitive one (I'm a newbie to groovy...): allItems = manager.hudson.items activeJobs = allItems.findAll{job -> job.isBuildable()} failedRuns = activeJobs.findAll{job -> job.lastBuild && job.lastBuild.result == hudson.model.Result.FAILURE} if (failedRuns.size() > 0) { manager.addWarningBadge( "Failed jobs !" ) summary = manager.createSummary( "warning.gif" ) failedRuns.each{run -> summary.appendText(run.name, false ) } } else { manager.addInfoBadge( "No failure" ) summary = manager.createSummary( "blue.gif" ) summary.appendText( "No failed jobs" , false ); }
          Hide
          yamabb Yama Tksh added a comment -

          Very similar problem: http://issues.hudson-ci.org/browse/HUDSON-8120

          • CopyArtifact Plugin in this case ?
          Show
          yamabb Yama Tksh added a comment - Very similar problem: http://issues.hudson-ci.org/browse/HUDSON-8120 CopyArtifact Plugin in this case ?
          Hide
          wolfs Stefan Wolf added a comment -

          I just made the release 1.5 of the groovy-postbuild-plugin. Could you please check if this issue is fixed?

          Show
          wolfs Stefan Wolf added a comment - I just made the release 1.5 of the groovy-postbuild-plugin. Could you please check if this issue is fixed?
          Hide
          leovonklenze leovonklenze added a comment -

          It works now. Thank you!

          Show
          leovonklenze leovonklenze added a comment - It works now. Thank you!
          Hide
          yamabb Yama Tksh added a comment -

          It works for me too! Thanks!

          Show
          yamabb Yama Tksh added a comment - It works for me too! Thanks!
          Hide
          wolfs Stefan Wolf added a comment -

          Fixed in Version 1.5

          Show
          wolfs Stefan Wolf added a comment - Fixed in Version 1.5

            People

            Assignee:
            wolfs Stefan Wolf
            Reporter:
            yamabb Yama Tksh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: