def __init__(self, username, password): version_page_name = "Version of Applications in E2E" version_page_space = "~lzhuang" self.confluence_api_client = confluence_client.ConfluenceClient( username, password, version_page_name, version_page_space, "", "") self.versions_content = "" self.e2e_version_content_list = "" self.pub_content = "" self.pulp_rpm_content = "" self.pulp_docker_content = "" self.all_pub_pulp_content = ""
def __init__(self, username, password, et_build_version, title, space, send_report_jenkins_name): self.username = username self.password = password self.et_build_version = et_build_version self.title = title self.space = space self.send_report_jenkins_name = send_report_jenkins_name self.confluence_auto_client = confluence_client.ConfluenceClient( self.username, self.password, self.title, self.space, "", "") self.testing_report_content = "" self.testing_final_result = "" self.testing_final_summary = ""
def __init__(self, confluence_username, confluence_password, et_build_version, title, space): self.confluence_username = confluence_username self.confluence_password = confluence_password self.et_build_version = et_build_version self.title = title self.space = space self.confluence_auto_client = confluence_client.ConfluenceClient( self.confluence_username, self.confluence_password, self.title, self.space, "", "") self.testing_report_content = "" self.testing_final_result = "" self.testing_final_summary = "" self.final_report_body = ""
def add_page_to_confluence(self): confulence_api_client = confluence_client.ConfluenceClient( self.confluence_username, self.confluence_password, self.title, self.space, self.final_report, self.parent_page) confulence_api_client.create_update_page()