1
0
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:
Srinikitha Kondreddy 2023-10-27 14:14:19 +02:00 committed by GitHub
parent e11896c5b2
commit daf159ae11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -112,6 +112,9 @@ spec:
- name: tmsUpload
conditions:
- configKey: nodeName
- name: tmsExport
conditions:
- configKey: nodeName
- name: healthExecuteCheck
conditions:
- configKey: 'testServerUrl'

View File

@ -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) {