public final class Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addBuildNumberToUpdate(Map<String,Object> updates)
Populates the
updates map with the value of the system property/environment variable
with the following name:
SAUCE_BAMBOO_BUILDNUMBER
JENKINS_BUILD_NUMBER
BUILD_TAG
BUILD_NUMBER
TRAVIS_BUILD_NUMBER
CIRCLE_BUILD_NUM
|
static String |
readPropertyOrEnv(String key,
String defaultValue) |
public static void addBuildNumberToUpdate(Map<String,Object> updates)
updates map with the value of the system property/environment variable
with the following name:
updates - String,Object pair containing job updatesCopyright © 2016 Sauce Labs. All rights reserved.