Added kitchen tests to test-salt-formulas pipeline.
Change-Id: I8349559682241f79d0f705042cdb88f266fdebe7
diff --git a/generate-cookiecutter-products-auto.groovy b/generate-cookiecutter-products-auto.groovy
index a4757b5..735dfdc 100644
--- a/generate-cookiecutter-products-auto.groovy
+++ b/generate-cookiecutter-products-auto.groovy
@@ -137,7 +137,7 @@
}
sh(returnStatus: true, script: "tar -zcvf ${clusterName}.tar.gz -C ${modelEnv} .")
archiveArtifacts artifacts: "${clusterName}.tar.gz"
- if(EMAIl_ADDRESS != null && EMAIL_ADDRESS){
+ if(EMAIl_ADDRESS != null && EMAIL_ADDRESS != ""){
emailext(to: EMAIL_ADDRESS,
attachmentsPattern: "${clusterName}.tar.gz",
body: "Mirantis Jenkins\n\nRequested reclass model ${clusterName} has been created and attached to this email.\nEnjoy!\n\nMirantis",