fix heredoc indent and braces

Change-Id: I67fdad145fab97448d13323ac84ab99bd0e381a0
diff --git a/jjb/pipeline/all-xos-api-test-helm.groovy b/jjb/pipeline/all-xos-api-test-helm.groovy
index 4e1384b..73e9dd7 100644
--- a/jjb/pipeline/all-xos-api-test-helm.groovy
+++ b/jjb/pipeline/all-xos-api-test-helm.groovy
@@ -137,13 +137,13 @@
            done
 
            # create values file with core version tags
+           # not indented because heredoc requires it
            cat << EOF > \${WORKSPACE}/xos_tags.yaml
-           ---
-           xos_coreImage: 'xosproject/xos-core:\$(XOS_VERSION}'
-           xos_chameleonImage: 'xosproject/chameleon:\$(XOS_VERSION}'
-           xos_toscaImage: 'xosproject/xos-tosca:\$(XOS_VERSION}'
-
-           EOF
+---
+xos_coreImage: 'xosproject/xos-core:\${XOS_VERSION}'
+xos_chameleonImage: 'xosproject/chameleon:\${XOS_VERSION}'
+xos_toscaImage: 'xosproject/xos-tosca:\${XOS_VERSION}'
+EOF
            """
       }
     }
diff --git a/jjb/pipeline/xos-synchronizer-update.groovy b/jjb/pipeline/xos-synchronizer-update.groovy
index 96251d9..a4c715e 100644
--- a/jjb/pipeline/xos-synchronizer-update.groovy
+++ b/jjb/pipeline/xos-synchronizer-update.groovy
@@ -133,13 +133,13 @@
            done
 
            # create values file with core version tags
+           # not indented because heredoc requires it
            cat << EOF > \${WORKSPACE}/xos_tags.yaml
-           ---
-           xos_coreImage: 'xosproject/xos-core:\$(XOS_VERSION}'
-           xos_chameleonImage: 'xosproject/chameleon:\$(XOS_VERSION}'
-           xos_toscaImage: 'xosproject/xos-tosca:\${XOS_VERSION}'
-
-           EOF
+---
+xos_coreImage: 'xosproject/xos-core:\${XOS_VERSION}'
+xos_chameleonImage: 'xosproject/chameleon:\${XOS_VERSION}'
+xos_toscaImage: 'xosproject/xos-tosca:\${XOS_VERSION}'
+EOF
            """
       }
     }