Add error message to build description

Change-Id: Ifffce007fbe9d3bc47ea57c30ee652b5e0bdb680
diff --git a/generate-cookiecutter-products.groovy b/generate-cookiecutter-products.groovy
index f6090c0..9f96d61 100644
--- a/generate-cookiecutter-products.groovy
+++ b/generate-cookiecutter-products.groovy
@@ -184,6 +184,7 @@
     } catch (Throwable e) {
          // If there was an error or exception thrown, the build failed
          currentBuild.result = "FAILURE"
+         currentBuild.description = e.message
          throw e
     } finally {
         stage ('Clean workspace directories') {