Make sure docker-login is include-raw-escape 74/5274/1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 21 Jun 2017 20:00:58 +0000 (13:00 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 21 Jun 2017 20:00:58 +0000 (13:00 -0700)
The docker login script has several curly brace variables that it needs.
Using include-raw instead of include-raw-escape causes JJB to break.

Change-Id: I345e9256f46eef2bf1fd245b985ebf5ecad77616
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
jjb/lf-macros.yaml

index 492089d..3756473 100644 (file)
@@ -38,8 +38,7 @@
       - lf-provide-maven-settings:
           global-settings-file: '{global-settings-file}'
           settings-file: '{settings-file}'
-      - shell: !include-raw:
-          - ../shell/docker-login.sh
+      - shell: !include-raw-escape: ../shell/docker-login.sh
       - lf-provide-maven-settings-cleanup
 
 - builder: