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

amoghdesai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 0fcb459402c Migrate Jenkins connection UI metadata to YAML (#62432)
0fcb459402c is described below

commit 0fcb459402c557a26242cf2ec3e0b873ab061d05
Author: Eason09053360 <[email protected]>
AuthorDate: Fri Feb 27 19:46:32 2026 +0800

    Migrate Jenkins connection UI metadata to YAML (#62432)
---
 providers/jenkins/provider.yaml                         | 17 +++++++++++++++++
 .../src/airflow/providers/jenkins/get_provider_info.py  | 17 +++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/providers/jenkins/provider.yaml b/providers/jenkins/provider.yaml
index 695dbf44634..6c6f08dba39 100644
--- a/providers/jenkins/provider.yaml
+++ b/providers/jenkins/provider.yaml
@@ -93,3 +93,20 @@ sensors:
 connection-types:
   - hook-class-name: airflow.providers.jenkins.hooks.jenkins.JenkinsHook
     connection-type: jenkins
+    ui-field-behaviour:
+      hidden-fields:
+        - extra
+      relabeling: {}
+      placeholders:
+        login: Login for the Jenkins service you would like to connect to
+        password: Password for the Jenkins service you would like to connect 
too
+        host: Host for your Jenkins server. Should NOT contain scheme (http:// 
or https://)
+        port: Specify a port number
+    conn-fields:
+      use_https:
+        label: Use Https
+        description: Specifies whether to use https scheme. Defaults to http
+        schema:
+          type:
+            - boolean
+            - 'null'
diff --git 
a/providers/jenkins/src/airflow/providers/jenkins/get_provider_info.py 
b/providers/jenkins/src/airflow/providers/jenkins/get_provider_info.py
index 431c45d33a5..a5ea5c9b70d 100644
--- a/providers/jenkins/src/airflow/providers/jenkins/get_provider_info.py
+++ b/providers/jenkins/src/airflow/providers/jenkins/get_provider_info.py
@@ -50,6 +50,23 @@ def get_provider_info():
             {
                 "hook-class-name": 
"airflow.providers.jenkins.hooks.jenkins.JenkinsHook",
                 "connection-type": "jenkins",
+                "ui-field-behaviour": {
+                    "hidden-fields": ["extra"],
+                    "relabeling": {},
+                    "placeholders": {
+                        "login": "Login for the Jenkins service you would like 
to connect to",
+                        "password": "Password for the Jenkins service you 
would like to connect too",
+                        "host": "Host for your Jenkins server. Should NOT 
contain scheme (http:// or https://)",
+                        "port": "Specify a port number",
+                    },
+                },
+                "conn-fields": {
+                    "use_https": {
+                        "label": "Use Https",
+                        "description": "Specifies whether to use https scheme. 
Defaults to http",
+                        "schema": {"type": ["boolean", "null"]},
+                    }
+                },
             }
         ],
     }

Reply via email to