From 4ae60fa3a6639972d8b2d61f8e4cdac83691f434 Mon Sep 17 00:00:00 2001
From: Greg Fodor <gfodor@gmail.com>
Date: Thu, 12 Jul 2018 22:20:29 +0000
Subject: [PATCH] Try fixing hab command

---
 Jenkinsfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index fa957ab88..445b87021 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -33,10 +33,9 @@ pipeline {
         script {
           def baseAssetsPath = "https://assets-dev.reticium.io/"
           def s3Destination = "s3://assets.reticulum-dev-7f8d39c45878ee2e/hubs"
+          def habCommand = "sudo /usr/bin/hab-docker-studio -k mozillareality run /bin/bash scripts/hab-build-and-push.sh ${baseAssetsPath} ${s3Destination}"
 
-          sh '''
-            /usr/bin/script --return -c \\\\"sudo /usr/bin/hab-docker-studio -k mozillareality run /bin/bash scripts/hab-build-and-push.sh\\\\" /dev/null
-          '''
+          sh "/usr/bin/script --return -c ${shellString(habCommand)} /dev/null"
         }
       }
     }
-- 
GitLab