[Generatemodel] Do not send model archieve via mail
Change-Id: I225b5a3731f8dc0722a6cba038182c26d4078e84
Related-Prod: PROD-29539 (PROD:29539)
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index 99ee3ea..54e9853 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -357,8 +357,8 @@
}
stage('Save changes reclass model') {
- sh(returnStatus: true, script: "tar -czf output-${context['cluster_name']}/${context['cluster_name']}.tar.gz --exclude='*@tmp' -C ${modelEnv} .")
- archiveArtifacts artifacts: "output-${context['cluster_name']}/${context['cluster_name']}.tar.gz"
+ sh(returnStatus: true, script: "tar -czf ${context['cluster_name']}.tar.gz --exclude='*@tmp' -C ${modelEnv} .")
+ archiveArtifacts artifacts: "${context['cluster_name']}.tar.gz"
if (RequesterEmail != '' && !RequesterEmail.contains('example')) {
emailext(to: RequesterEmail,