From e16ad9a37c5353955e66792cb11ebcd78ecf708e Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Thu, 7 Mar 2019 12:21:02 +0100
Subject: [PATCH] [Jenkins] Create non-Python Windows packages.

---
 Jenkinsfile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 7a177c8770b..10108d93ac1 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -346,12 +346,10 @@ pipeline {
               def num_threads = env.NUM_THREADS
               bat 'git submodule sync'
               bat 'conan remove --locks'
-              // CLI + GUI
-              configure {
+              configure { // CLI + GUI
                 cmakeOptions =
                   "-DBUILD_SHARED_LIBS=OFF " +
                   '-DOGS_DOWNLOAD_ADDITIONAL_CONTENT=ON ' +
-                  '-DOGS_USE_PYTHON=ON ' +
                   '-DOGS_BUILD_GUI=ON ' +
                   '-DOGS_BUILD_UTILS=ON ' +
                   '-DOGS_BUILD_SWMM=ON '
@@ -361,6 +359,11 @@ pipeline {
                 log="build.log"
                 cmd_args="-l ${num_threads}"
               }
+              configure { // CLI + GUI + Python
+                cmakeOptions = '-DOGS_USE_PYTHON=ON '
+                keepDir = true
+              }
+              build { target="package" }
               build { target="tests" }
               build { target="ctest" }
             }
-- 
GitLab