From 103f880d0aeefa971c9488ce319f535e1412c2b0 Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Wed, 2 Aug 2017 16:43:42 +0200 Subject: Properly quote CMake arguments that may contain spaces on Windows --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Jenkinsfile') diff --git a/Jenkinsfile b/Jenkinsfile index 6ff63e2772..6408cbf9b2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ parallel_nodes(['linux && cura', 'windows && cura']) { // Ensure CMake is setup. Note that since this is Python code we do not really "build" it. def uranium_dir = get_workspace_dir("Ultimaker/Uranium/${branch}") - cmake("..", "-DCMAKE_PREFIX_PATH=${env.CURA_ENVIRONMENT_PATH}/${branch} -DCMAKE_BUILD_TYPE=Release -DURANIUM_DIR=${uranium_dir}") + cmake("..", "-DCMAKE_PREFIX_PATH=\"${env.CURA_ENVIRONMENT_PATH}/${branch}\" -DCMAKE_BUILD_TYPE=Release -DURANIUM_DIR=\"${uranium_dir}\"") } // Try and run the unit tests. If this stage fails, we consider the build to be "unstable". -- cgit v1.2.3