You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2026/05/18 14:14:35 UTC

(directory-server) branch master updated: Added parameters

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

asf-gitbox-commits pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git


The following commit(s) were added to refs/heads/master by this push:
     new ad1414ffcd Added parameters
ad1414ffcd is described below

commit ad1414ffcde450302472b67d2d8bed66cf3e350d
Author: Emmanuel Lécharny <em...@worteks.com>
AuthorDate: Mon May 18 16:14:15 2026 +0200

    Added parameters
---
 Jenkinsfile | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 65a6db226c..f25526afeb 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -30,13 +30,21 @@ pipeline {
     disableConcurrentBuilds()
   }
   
+    parameters {
+      choice(name: 'nodeLabel', choices: ['ubuntu', 'arm', 'Windows'])
+      choice(name: 'jdkVersion', choices: ['jdk_11_latest', 'jdk_17_latest', 'jdk_21_latest', 'jdk_25_latest', 'jdk_11_latest_windows', 'jdk_17_latest_windows', 'jdk_21_latest_windows', 'jdk_25_latest_windows'])
+      booleanParam(name: 'deployEnabled', defaultValue: true)
+      booleanParam(name: 'sonarEnabled', defaultValue: true)
+      booleanParam(name: 'testsEnabled', defaultValue: true)
+  }
+
   triggers {
     cron('@weekly')
     pollSCM('@daily')
   }
   
   stages {
-      stage('Initialization') {
+    stage('Initialization') {
       steps {
         echo "running on ${env.NODE_NAME}"
         echo 'Building branch ' + env.BRANCH_NAME
@@ -82,7 +90,6 @@ pipeline {
       }
     }
 
-
     stage('Build JDK 25 Linux') {
       tools {
         jdk "jdk_25_latest"
@@ -131,6 +138,7 @@ pipeline {
       }
     }
     
+    /*
     stage ('Build Installers') {
       options {
         timeout(time: 2, unit: 'HOURS')
@@ -235,6 +243,7 @@ pipeline {
         }
       }
     }
+    */
   }
   
   post {