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

Sauce Labs Test Publisher cannot find build


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • sauce-ondemand-plugin
    • None
    • Sauce OnDemand Plugin v1.184
      Jenkins ver. 2.164.2

      We recently upgraded our Jenkins and Sauce OnDemand plugin and noticed that we are getting issues when we have the Sauce Labs Test Publisher added in our post build steps.

      In the logs, it looks like its trying to find the build, but the build name is incorrect. We set the build name to be something like "foo [build number]" (eg. foo [123])

      From what we see in the logs, the name its looking for is jenkins-foo-123, and i guess this is because the name gets sanitized in SauceEnvironmentUtil.getSanitizedBuildNumber(). Is there something changed in how we are suppose to set the build information in the DesiredCapabilities?

      We have to disable all our jobs from using the publisher now because it fails our jenkins job.


            yfangsl Yeh Fang
            aquan Aaron Quan
            0 Vote for this issue
            1 Start watching this issue