You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2023/01/12 10:01:51 UTC

[couchdb] 01/01: Add Windows Jenkins pipeline

This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch jenkins-add-windows-pipeline
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 08b915c83372ed26639f7999fc6e8256684be149
Author: Ronny Berndt <ro...@apache.org>
AuthorDate: Thu Jan 12 11:00:43 2023 +0100

    Add Windows Jenkins pipeline
---
 build-aux/Jenkinsfile.full | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/build-aux/Jenkinsfile.full b/build-aux/Jenkinsfile.full
index efbf1db5a..08dbc41d6 100644
--- a/build-aux/Jenkinsfile.full
+++ b/build-aux/Jenkinsfile.full
@@ -79,6 +79,13 @@ meta = [
     image: "apache/couchdbci-debian:bullseye-erlang-${ERLANG_VERSION}"
   ],
 
+  'windows': [
+       name: 'Windows',
+       spidermonkey_vsn: '91',
+       gnu_make: 'make',
+       node_label: 'win'
+    ]
+
   // Skip freebsd builds for now as adviced by node owner
   // 'freebsd': [
   //   name: 'FreeBSD',
@@ -298,11 +305,20 @@ pipeline {
         script {
           // Including failFast: true in map fails the build immediately if any parallel step fails
           parallelStagesMap = meta.collectEntries( [failFast: false] ) { key, values ->
+
+            println key
+            println value
+
             if (values.image) {
               ["${key}": generateContainerStage(key)]
             }
             else {
-              ["${key}": generateNativeStage(key)]
+              //if (isUnix()) {
+                ["${key}": generateNativeStage(key)]
+              //}
+              //else {
+              //  ["${key}": generateNativeStageWindows(key)]
+              //}
             }
           }
           parallel parallelStagesMap