mirror of
https://github.com/SAP/jenkins-library.git
synced 2024-12-04 10:25:01 +02:00
Add new param for npmExecuteEndToEndTests step (#4012)
* Set default docker image for npmExecuteEndToEndTests * Adapt docker image param * Update npmExecuteEndToEndTests.groovy * Update npmExecuteEndToEndTests.groovy * Update npmExecuteScripts.groovy * Update npmExecuteEndToEndTests.groovy * Update npmExecuteEndToEndTests.groovy * Clean up * Remove default image
This commit is contained in:
parent
32152be940
commit
4da4ced95e
@ -40,7 +40,12 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
* Boolean to indicate whether the step should only be executed in the productive branch or not.
|
||||
* @possibleValues `true`, `false`
|
||||
*/
|
||||
'onlyRunInProductiveBranch'
|
||||
'onlyRunInProductiveBranch',
|
||||
/**
|
||||
* Docker image on which end to end tests should be executed
|
||||
*/
|
||||
'dockerImage'
|
||||
|
||||
])
|
||||
@Field Set PARAMETER_KEYS = STEP_CONFIG_KEYS
|
||||
|
||||
@ -120,7 +125,7 @@ void call(Map parameters = [:]) {
|
||||
error "[${STEP_NAME}] The parameters property is not of type list. Please provide parameters as a list of strings."
|
||||
}
|
||||
}
|
||||
npmExecuteScripts(script: script, parameters: npmParameters, virtualFrameBuffer: true, runScripts: [config.runScript], scriptOptions: scriptOptions, buildDescriptorExcludeList: config.buildDescriptorExcludeList)
|
||||
npmExecuteScripts(script: script, parameters: npmParameters, virtualFrameBuffer: true, runScripts: [config.runScript], dockerImage: config.dockerImage, scriptOptions: scriptOptions, buildDescriptorExcludeList: config.buildDescriptorExcludeList)
|
||||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user