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

Build action "Sauce OnDemand report" link links to a page with a bad iframe

      See the two attached screenshots.

      Basically, despite being logged in inside my browser, when I click on the "Sauce OnDemand report" link, I get an iframe with the login screen, instead of the actual report.

      This might be something on saucelabs.com as opposed to the plugin though :/

          [JENKINS-13308] Build action "Sauce OnDemand report" link links to a page with a bad iframe

          Ross Rowe added a comment -

          I can see the Sauce Job results correctly when I navigate to the specific test result page, but I'm not seeing the 'Sauce OnDemand report' link appear at all for my job results. I'll keep having a look into this, but could you let me know what version of Jenkins you're using?

          Cheers,

          Ross

          Ross Rowe added a comment - I can see the Sauce Job results correctly when I navigate to the specific test result page, but I'm not seeing the 'Sauce OnDemand report' link appear at all for my job results. I'll keep having a look into this, but could you let me know what version of Jenkins you're using? Cheers, Ross

          R. Tyler Croy added a comment -

          I don't remember what version of Jenkins I was using for this, but this issue for sauce_ruby explains how to get the plugin to show the links.

          Having spent some time with the REST API now, I think the problem is that the plugin isn't creating no-login links, see this document from saucelabs.com

          R. Tyler Croy added a comment - I don't remember what version of Jenkins I was using for this, but this issue for sauce_ruby explains how to get the plugin to show the links. Having spent some time with the REST API now, I think the problem is that the plugin isn't creating no-login links, see this document from saucelabs.com

          Ross Rowe added a comment -

          Okay, can you please try replicate the issue with the latest version of the plugin?

          The plugin should be setting the auth token (and supporting password-less authentication for the embedded job details - as per https://github.com/jenkinsci/sauce-ondemand-plugin/blob/master/src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandReport.java), and should also support parsing lines with SauceOnDemandSessionID that don't include job-name.

          Ross Rowe added a comment - Okay, can you please try replicate the issue with the latest version of the plugin? The plugin should be setting the auth token (and supporting password-less authentication for the embedded job details - as per https://github.com/jenkinsci/sauce-ondemand-plugin/blob/master/src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandReport.java ), and should also support parsing lines with SauceOnDemandSessionID that don't include job-name.

          Ross Rowe added a comment -

          I'm pretty sure this issue doesn't occur in the latest version of the plugin, but let me know if it reappears

          Ross Rowe added a comment - I'm pretty sure this issue doesn't occur in the latest version of the plugin, but let me know if it reappears

            rossrowe Ross Rowe
            rtyler R. Tyler Croy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: