2018-11-08 13:15:15 +02:00
|
|
|
import static com.sap.piper.Prerequisites.checkScript
|
|
|
|
|
|
|
|
import com.sap.piper.ConfigurationHelper
|
2019-03-13 13:01:05 +02:00
|
|
|
import com.sap.piper.GenerateDocumentation
|
2018-11-08 13:15:15 +02:00
|
|
|
import com.sap.piper.GitUtils
|
|
|
|
import com.sap.piper.Utils
|
|
|
|
|
2019-10-23 13:38:31 +02:00
|
|
|
import groovy.text.GStringTemplateEngine
|
2018-11-08 13:15:15 +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/karmaExecuteTests.yaml'
|
2018-11-08 13:15:15 +02:00
|
|
|
|
|
|
|
void call(Map parameters = [:]) {
|
2021-04-15 13:58:23 +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-11-08 13:15:15 +02:00
|
|
|
}
|