When running the build pipeline and clicking the "console" icon the modal window only shows (in Chrome) "Unable to resolve the server's DNS address." The problem is that clicking on the "console" icon tries to load the following address which obviously doesn't work:

      http://job/JobName/71/console

          [JENKINS-25430] Clicking on "console" icon doesn't work

          This Issue is mentioned twice, although this one was earlier this Issue JENKINS-25430 is quite better documented.

          Dennis Philpot added a comment - This Issue is mentioned twice, although this one was earlier this Issue JENKINS-25430 is quite better documented.

          Jeff Storey added a comment -

          Jeff Storey added a comment - I added a comment in JENKINS-25460 https://issues.jenkins-ci.org/browse/JENKINS-25460?focusedCommentId=215751&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-215751 on the resolution of this issue.

          1.4.5 will be released in next 24h please try.

          Kanstantsin Shautsou added a comment - 1.4.5 will be released in next 24h please try.

          Nicolas BOHEAS added a comment - - edited

          In 1.4.7, the button console does nothing... In Firefox, the code source is :
          <span class="pointer" onclick="buildPipeline.fillDialog('http://job/JobName/71/console', 'ConsoleBuild_Release #247')"></span>

          But when I click on the picture, I see this message in the console : [11:20:46,572] TypeError: jQuery.fancybox is not a function @ http://hostname:port/jenkins/plugin/build-pipeline-plugin/js/build-pipeline.js:109

          Nicolas BOHEAS added a comment - - edited In 1.4.7, the button console does nothing... In Firefox, the code source is : <span class="pointer" onclick="buildPipeline.fillDialog('http://job/JobName/71/console', 'ConsoleBuild_Release #247')"></span> But when I click on the picture, I see this message in the console : [11:20:46,572] TypeError: jQuery.fancybox is not a function @ http://hostname:port/jenkins/plugin/build-pipeline-plugin/js/build-pipeline.js:109

          see my comment

          Nicolas BOHEAS added a comment - see my comment

          Joel Njanga added a comment -

          This does NOT work with Jenkins 1.606 + build Pipeline plugin 1.4.7

          Joel Njanga added a comment - This does NOT work with Jenkins 1.606 + build Pipeline plugin 1.4.7

          Hy, I 've found a solution :

          go to the plugin directory build-pipeline-plugin. and edit the file jquery.fancybox-1.3.4.js :
          change the test about IE6 by the value false (line 29 and 946).

          and now edit the file jquery.tooltip.min.js :
          change column 53 by false (IE=false).

          whitout restart Jenkins, but by press CTRL+F5 on the job pipeline, the console will appear!

          Of course, the pb will not be solve on ie6.... but is it a real pb?

          Nicolas BOHEAS added a comment - Hy, I 've found a solution : go to the plugin directory build-pipeline-plugin. and edit the file jquery.fancybox-1.3.4.js : change the test about IE6 by the value false (line 29 and 946). and now edit the file jquery.tooltip.min.js : change column 53 by false (IE=false). whitout restart Jenkins, but by press CTRL+F5 on the job pipeline, the console will appear! Of course, the pb will not be solve on ie6.... but is it a real pb?

          Nicolas BOHEAS added a comment - - edited

          I have linked the 2 files corrected if needed.

          Nicolas BOHEAS added a comment - - edited I have linked the 2 files corrected if needed.

          Joel Njanga added a comment -

          thanks for your prompt response.
          agreed that this issue is minor in comparison with https://issues.jenkins-ci.org/browse/JENKINS-20873 which definitely does not work with jenkins 1.606 even when dowgradind the plugin to ver 1.4.3

          Joel Njanga added a comment - thanks for your prompt response. agreed that this issue is minor in comparison with https://issues.jenkins-ci.org/browse/JENKINS-20873 which definitely does not work with jenkins 1.606 even when dowgradind the plugin to ver 1.4.3

          emwfrpr added a comment -

          I copied in the 2 corrected files, and it all works perfectly with ver. 1.4.7
          Will there be a new release of the build-pipeline-plugin in the near future ?

          emwfrpr added a comment - I copied in the 2 corrected files, and it all works perfectly with ver. 1.4.7 Will there be a new release of the build-pipeline-plugin in the near future ?

          Vikas Kumar added a comment -

          The solution by Nicolas did not worked for me on Jenkins v1.621-1.1 and Build Pipeline v1.4.7. The console icon is clickable now, but does not show any output.

          I even tried to copy+paste the two files in vain.

          Vikas Kumar added a comment - The solution by Nicolas did not worked for me on Jenkins v1.621-1.1 and Build Pipeline v1.4.7. The console icon is clickable now, but does not show any output. I even tried to copy+paste the two files in vain.

          May be you can try this : in a pipeline-view, clik on "Configure" and at the bottom of the page there is an option called "Console Output Link Style", you can try to change it... I'm not sure //TODO!

          Nicolas BOHEAS added a comment - May be you can try this : in a pipeline-view, clik on "Configure" and at the bottom of the page there is an option called "Console Output Link Style", you can try to change it... I'm not sure //TODO!

          @Vikas Kumar : have a look in javascript console, may be you'll see a message more explicit :/

          Nicolas BOHEAS added a comment - @Vikas Kumar : have a look in javascript console, may be you'll see a message more explicit :/

          Vikas Kumar added a comment -

          niko44 Thanks for the tip . Changing the Console Output Link Style from Lightbox to New Window or Same Window works fine.

          Vikas Kumar added a comment - niko44 Thanks for the tip . Changing the Console Output Link Style from Lightbox to New Window or Same Window works fine.

          Dan Alvizu added a comment -

          Merged to master, fixed in next release (1.4.9)

          Dan Alvizu added a comment - Merged to master, fixed in next release (1.4.9)

          Just tried with 1.4.9 and Jenkins 1.609.2 and this does not appear to be fixed.

          Lance Johnston added a comment - Just tried with 1.4.9 and Jenkins 1.609.2 and this does not appear to be fixed.

          Dan Alvizu added a comment -

          Are you seeing the same error above or a different one? Have you set your jenkins URL in system configuration?

          Dan Alvizu added a comment - Are you seeing the same error above or a different one? Have you set your jenkins URL in system configuration?

          Indeed, the problem turned out to be related to the jenkins URL in the system configuration. Specifically, my apache reverse proxy was down and I was using the direct jenkins url, bypassing the one in the system configuration, when I encountered this problem. Once the reverse proxy was back up, console output started working again.

          Lance Johnston added a comment - Indeed, the problem turned out to be related to the jenkins URL in the system configuration. Specifically, my apache reverse proxy was down and I was using the direct jenkins url, bypassing the one in the system configuration, when I encountered this problem. Once the reverse proxy was back up, console output started working again.

            dalvizu Dan Alvizu
            johanhaleby Johan Haleby
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: