2018-10-30 17:49:53 +02:00
|
|
|
import static com.sap.piper.Prerequisites.checkScript
|
2018-10-17 16:44:20 +02:00
|
|
|
import groovy.transform.Field
|
|
|
|
|
2018-11-29 10:54:05 +02:00
|
|
|
@Field String STEP_NAME = getClass().getName()
|
2021-11-15 15:20:20 +02:00
|
|
|
@Field String METADATA_FILE = 'metadata/gaugeExecuteTests.yaml'
|
2019-03-29 13:14:01 +02:00
|
|
|
|
2018-10-17 16:44:20 +02:00
|
|
|
void call(Map parameters = [:]) {
|
2021-06-01 13:15:10 +02:00
|
|
|
List credentials = [
|
|
|
|
[type: 'usernamePassword', id: 'seleniumHubCredentialsId', env: ['PIPER_SELENIUM_HUB_USER', 'PIPER_SELENIUM_HUB_PASSWORD']],
|
|
|
|
]
|
|
|
|
final script = checkScript(this, parameters) ?: this
|
|
|
|
piperExecuteBin(parameters, STEP_NAME, METADATA_FILE, credentials)
|
2018-10-17 16:44:20 +02:00
|
|
|
}
|