diff options
author | Arjen Hiemstra <ahiemstra@heimr.nl> | 2017-03-15 19:24:19 +0300 |
---|---|---|
committer | Arjen Hiemstra <ahiemstra@heimr.nl> | 2017-03-15 19:24:19 +0300 |
commit | 2620d7748e21047e155d0975dcdd956d4da49f6b (patch) | |
tree | 7b4385b158a96f114f9b76225c1cca7d2790c7cc /Jenkinsfile | |
parent | 04e517eddfcbfe680f94f73d05ed23b7ecdc809e (diff) |
Pass the right Uranium directory to CMake when running on CI
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index a056b5e115..2c101b2183 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -15,7 +15,8 @@ parallel_nodes(['linux && cura', 'windows && cura']) { // Perform the "build". Since Uranium is Python code, this basically only ensures CMake is setup. stage('Build') { // Ensure CMake is setup. Note that since this is Python code we do not really "build" it. - cmake("..", "-DCMAKE_PREFIX_PATH=${env.CURA_ENVIRONMENT_PATH} -DCMAKE_BUILD_TYPE=Release -DURANIUM_SCRIPTS_DIR=") + def uranium_dir = get_workspace_dir("Ultimaker/Uranium/master") + cmake("..", "-DCMAKE_PREFIX_PATH=${env.CURA_ENVIRONMENT_PATH} -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". |