Fix JJB inserting extra curly braces 74/62474/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 31 Aug 2017 02:42:40 +0000 (22:42 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 31 Aug 2017 02:42:42 +0000 (22:42 -0400)
!include-raw-escape when the macro has no JJB variables defined will
insert extra curly braces instead of ignoring them. In such case we need
to call !include-raw instead so that the expected behaviour is retained.

Change-Id: If18cb89ce839b3e47fbc45802deb8a051838bb59
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/releng-macros.yaml

index eb5743d8b3989584d3cbea13287d5941144d8cc5..1bfd92caa7b2fbd5c126c304278dea691852ff78 100644 (file)
     publishers:
       - postbuildscript:
           builders:
-            - shell: !include-raw-escape:
-                - generate-csit-status-report.sh
+            - shell: !include-raw: generate-csit-status-report.sh
           script-only-if-succeeded: false
           script-only-if-failed: false
           mark-unstable-if-failed: false