save models to artifacts
Change-Id: Iee9e5840623cba05a51b72b7c16073d8bb660d9c
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index 3074d21..eb28365 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -123,6 +123,7 @@
def outputDestination = "${modelEnv}/classes/cluster/${clusterName}"
sh(returnStdout: true, script: "cp ${outputSource} ${outputDestination} -r")
git.commitGitChanges(modelEnv, "Added new cluster ${clusterName}")
+ archiveArtifacts artifacts: modelEnv
}
stage ('Push changes to Reclass model') {