File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
src/airflow/providers/jenkins Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -93,3 +93,20 @@ sensors:
9393connection-types :
9494 - hook-class-name : airflow.providers.jenkins.hooks.jenkins.JenkinsHook
9595 connection-type : jenkins
96+ ui-field-behaviour :
97+ hidden-fields :
98+ - extra
99+ relabeling : {}
100+ placeholders :
101+ login : Login for the Jenkins service you would like to connect to
102+ password : Password for the Jenkins service you would like to connect too
103+ host : Host for your Jenkins server. Should NOT contain scheme (http:// or https://)
104+ port : Specify a port number
105+ conn-fields :
106+ use_https :
107+ label : Use Https
108+ description : Specifies whether to use https scheme. Defaults to http
109+ schema :
110+ type :
111+ - boolean
112+ - ' null'
Original file line number Diff line number Diff line change @@ -50,6 +50,23 @@ def get_provider_info():
5050 {
5151 "hook-class-name" : "airflow.providers.jenkins.hooks.jenkins.JenkinsHook" ,
5252 "connection-type" : "jenkins" ,
53+ "ui-field-behaviour" : {
54+ "hidden-fields" : ["extra" ],
55+ "relabeling" : {},
56+ "placeholders" : {
57+ "login" : "Login for the Jenkins service you would like to connect to" ,
58+ "password" : "Password for the Jenkins service you would like to connect too" ,
59+ "host" : "Host for your Jenkins server. Should NOT contain scheme (http:// or https://)" ,
60+ "port" : "Specify a port number" ,
61+ },
62+ },
63+ "conn-fields" : {
64+ "use_https" : {
65+ "label" : "Use Https" ,
66+ "description" : "Specifies whether to use https scheme. Defaults to http" ,
67+ "schema" : {"type" : ["boolean" , "null" ]},
68+ }
69+ },
5370 }
5471 ],
5572 }
You can’t perform that action at this time.
0 commit comments