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

SauceLabs results not displayed on Blue Ocean

    Details

    • Similar Issues:

      Description

      Similar to JENKINS-40616.

      See the Jenkinsfile in
      https://github.com/bitwiseman/JS-Nightwatch.js/tree/issue/declarative/sauceConnectPublish

      The saucelabs results are recorded and viewable in stage view but not in Blue Ocean.

        Attachments

          Issue Links

            Activity

            bitwiseman Liam Newman created issue -
            bitwiseman Liam Newman made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-40616 [ JENKINS-40616 ]
            Hide
            halkeye Gavin Mogan added a comment -

            I'll need to track down how to do it, but I think i can find time to do it soon

            Show
            halkeye Gavin Mogan added a comment - I'll need to track down how to do it, but I think i can find time to do it soon
            Hide
            halkeye Gavin Mogan added a comment -
            Show
            halkeye Gavin Mogan added a comment - for future me, https://github.com/cloudbees/blueocean-sample-pipeline-result-ext-plugin might be a good starting place
            jamesdumay James Dumay made changes -
            Epic Link JENKINS-40108 [ 176745 ]
            Hide
            cliffmeyers Cliff Meyers added a comment -

            Gavin Mogan just to confirm I understand the goal here: you want to include the nightwatch test results in the "Tests" tab in Blue Ocean?

            Show
            cliffmeyers Cliff Meyers added a comment - Gavin Mogan just to confirm I understand the goal here: you want to include the nightwatch test results in the "Tests" tab in Blue Ocean?
            Hide
            halkeye Gavin Mogan added a comment -

            Cliff Meyers No not really. Sauce labs has our own dashboard for the selenium tests we help run. The plugin parses the output of tests and displays them as build and project actions in the normal jenkins.

            Liam is asking for that same results to be shown in blueocean.

            Right now I'm trying to debate between @ExposedBean and do a new plugin release, or just create a new rest api call that exposes the tiny bits of information I need (mostly its the hmac token which is slightly time sensitive).

            Hopefully that makes a bit of sense.

            Show
            halkeye Gavin Mogan added a comment - Cliff Meyers No not really. Sauce labs has our own dashboard for the selenium tests we help run. The plugin parses the output of tests and displays them as build and project actions in the normal jenkins. Liam is asking for that same results to be shown in blueocean. Right now I'm trying to debate between @ExposedBean and do a new plugin release, or just create a new rest api call that exposes the tiny bits of information I need (mostly its the hmac token which is slightly time sensitive). Hopefully that makes a bit of sense.
            Hide
            cliffmeyers Cliff Meyers added a comment -

            I don't know enough about the Sauce Labs stuff to know if this is feasible, but if it publishes JUnit -style test results then you may be able to do this with the junit archiver.

            We have an acceptance test suite that runs via Selenium + nightwatch and I was able to bundle those to display in the test results view using this code in the Jenkinsfile:
            https://github.com/jenkinsci/blueocean-acceptance-test/blob/master/Jenkinsfile#L148

            Show
            cliffmeyers Cliff Meyers added a comment - I don't know enough about the Sauce Labs stuff to know if this is feasible, but if it publishes JUnit -style test results then you may be able to do this with the junit archiver. We have an acceptance test suite that runs via Selenium + nightwatch and I was able to bundle those to display in the test results view using this code in the Jenkinsfile: https://github.com/jenkinsci/blueocean-acceptance-test/blob/master/Jenkinsfile#L148
            halkeye Gavin Mogan made changes -
            Link This issue is blocked by JENKINS-42363 [ JENKINS-42363 ]
            Hide
            halkeye Gavin Mogan added a comment -

            If the new devs for the project ever look at this, https://github.com/saucelabs/jenkins-sauce-ondemand-plugin-blueocean is the mostly working version I started at the start of the year

            Show
            halkeye Gavin Mogan added a comment - If the new devs for the project ever look at this, https://github.com/saucelabs/jenkins-sauce-ondemand-plugin-blueocean  is the mostly working version I started at the start of the year
            halkeye Gavin Mogan made changes -
            Assignee Gavin Mogan [ halkeye ] Yeh Fang [ yfangsl ]

              People

              • Assignee:
                yfangsl Yeh Fang
                Reporter:
                bitwiseman Liam Newman
              • Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: