mirror of
https://github.com/SAP/jenkins-library.git
synced 2025-01-20 05:19:40 +02:00
Add tmsExport to release step (#4648)
This commit is contained in:
parent
e11896c5b2
commit
daf159ae11
@ -112,6 +112,9 @@ spec:
|
||||
- name: tmsUpload
|
||||
conditions:
|
||||
- configKey: nodeName
|
||||
- name: tmsExport
|
||||
conditions:
|
||||
- configKey: nodeName
|
||||
- name: healthExecuteCheck
|
||||
conditions:
|
||||
- configKey: 'testServerUrl'
|
||||
|
@ -23,6 +23,8 @@ import static com.sap.piper.Prerequisites.checkScript
|
||||
'kubernetesDeploy',
|
||||
/** For TMS use-cases: Performs upload to Transport Management Service node*/
|
||||
'tmsUpload',
|
||||
/** For TMS use-cases: Performs export to Transport Management Service node*/
|
||||
'tmsExport',
|
||||
/** Publishes release information to GitHub. */
|
||||
'githubPublishRelease',
|
||||
/** Executes smoke tests by running the npm script 'ci-smoke' defined in the project's package.json file. */
|
||||
@ -93,6 +95,10 @@ void call(Map parameters = [:]) {
|
||||
durationMeasure(script: script, measurementName: 'upload_release_tms_duration') {
|
||||
tmsUpload script: script
|
||||
}
|
||||
} else if(config.tmsExport){
|
||||
durationMeasure(script: script, measurementName: 'export_release_tms_duration') {
|
||||
tmsExport script: script
|
||||
}
|
||||
}
|
||||
|
||||
if (config.healthExecuteCheck) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user