diff options
author | Arjen Hiemstra <ahiemstra@heimr.nl> | 2017-08-02 17:43:42 +0300 |
---|---|---|
committer | Arjen Hiemstra <ahiemstra@heimr.nl> | 2017-08-02 17:43:42 +0300 |
commit | 103f880d0aeefa971c9488ce319f535e1412c2b0 (patch) | |
tree | 2401a8169d2b30f5620120cad72d209d2ef7723e /Jenkinsfile | |
parent | 7b3290213a976e6a86e1832143520f09632fe4d8 (diff) |
Properly quote CMake arguments that may contain spaces on Windows
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 2 |
1 files changed, 1 insertions, 1 deletions
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". |