I'm willing to use the Sauce Labs European data center and according to this documentation I should be able to configure the saucePublisher step by setting SAUCE_REST_ENDPOINT environment variable (which seems right according to the source code). However, I'm unable to succeed so far.
Using the following pipeline...
SAUCE_REST_ENDPOINT = "https:
SAUCE_CREDENTIALS = credentials('sauce-labs')
sh 'echo "SauceOnDemandSessionID=1234567890abdcefghijklmnopqrstuv job-name=test"'
... the saucePublisher step produces the following log entry:
Error retrieving Sauce Results
Note that the base URL is https://saucelabs.com instead of https://eu-central-1.saucelabs.com.