| :py:mod:`airflow.providers.jenkins.hooks.jenkins` |
| ================================================= |
| |
| .. py:module:: airflow.providers.jenkins.hooks.jenkins |
| |
| |
| Module Contents |
| --------------- |
| |
| Classes |
| ~~~~~~~ |
| |
| .. autoapisummary:: |
| |
| airflow.providers.jenkins.hooks.jenkins.JenkinsHook |
| |
| |
| |
| |
| .. py:class:: JenkinsHook(conn_id = default_conn_name) |
| |
| Bases: :py:obj:`airflow.hooks.base.BaseHook` |
| |
| Hook to manage connection to jenkins server |
| |
| .. py:attribute:: conn_name_attr |
| :annotation: = conn_id |
| |
| |
| |
| .. py:attribute:: default_conn_name |
| :annotation: = jenkins_default |
| |
| |
| |
| .. py:attribute:: conn_type |
| :annotation: = jenkins |
| |
| |
| |
| .. py:attribute:: hook_name |
| :annotation: = Jenkins |
| |
| |
| |
| .. py:method:: get_jenkins_server(self) |
| |
| Get jenkins server |
| |
| |
| .. py:method:: get_build_building_state(self, job_name, build_number) |
| |
| Get build building state |
| |
| |
| |