You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@airflow.apache.org by "sjyangkevin (via GitHub)" <gi...@apache.org> on 2025/09/07 17:02:42 UTC
[I] Cannot set schema in Airflow UI for Jenkins connection, resulting in connection failure [airflow]
sjyangkevin opened a new issue, #55351:
URL: https://github.com/apache/airflow/issues/55351
### Apache Airflow Provider(s)
jenkins
### Versions of Apache Airflow Providers
apache-airflow-providers-jenkins==4.1.2
### Apache Airflow version
3.0.6
### Operating System
Ubuntu 22.04.3 LTS
### Deployment
Docker-Compose
### Deployment details
Follow the Airflow documentation to run Airflow with Docker: https://airflow.apache.org/docs/apache-airflow/stable/howto/docker-compose/index.html
### What happened
Cannot find where to set schema in Airflow UI when defining Jenkins connection. Maybe the field is hidden?
<img width="891" height="786" alt="Image" src="https://github.com/user-attachments/assets/bf7d187f-a12e-4870-a46c-9f9ba58f7c1f" />
<img width="895" height="571" alt="Image" src="https://github.com/user-attachments/assets/8c7f4d88-3f47-449d-a4d4-fab5cf1a5d89" />
<img width="892" height="717" alt="Image" src="https://github.com/user-attachments/assets/51cfa203-503b-46ee-8273-f0c418b0ca49" />
If the `schema` is not specified, the connection to Jenkins server to failed due to it is being added to the URL as `None`, as shown in the screenshot below.
<img width="1576" height="389" alt="Image" src="https://github.com/user-attachments/assets/f37474cd-1b45-45ad-a439-2d8020eb578a" />
https://github.com/apache/airflow/blob/69bdd6bc04db34f764f64c34b7d1cd79cc372e2b/providers/jenkins/src/airflow/providers/jenkins/hooks/jenkins.py#L48-L72
### What you think should happen instead
We should be able to specify `schema` in the UI, so it will not be rendered as `None` in the connection string. If the `schema` is optional. Then, we also should not put it into the connection string if its value is `None`.
### How to reproduce
Run Airflow through the Docker compose deployment, or in breeze development environment. Install Jenkins provider, and attempt to set the connection. The following DAG may be helpful to re-produce the error.
https://github.com/apache/airflow/blob/main/providers/jenkins/tests/system/jenkins/example_jenkins_job_trigger.py
### Anything else
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot set schema in Airflow UI for Jenkins connection, resulting in connection failure [airflow]
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #55351:
URL: https://github.com/apache/airflow/issues/55351#issuecomment-3264121681
Good first issue for someone to investigate
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot set schema in Airflow UI for Jenkins connection, resulting in connection failure [airflow]
Posted by "eladkal (via GitHub)" <gi...@apache.org>.
eladkal closed issue #55351: Cannot set schema in Airflow UI for Jenkins connection, resulting in connection failure
URL: https://github.com/apache/airflow/issues/55351
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org