

QUICKBUILD MSTEST HOW TO
get_id_by_build_name ( name : str ) → int ¶įor example how to get id of latest build in configuration with id 1, QBProcessingError – will be raised if resource is not found. Str get_id_by_request_id ( identifier : int ) → int ¶ QBProcessingError will be raised if build is finished. Int get_request_id ( build_id : int ) → str ¶ QBProcessingError will be raised if build is Str get_duration ( build_id : int ) → int ¶ Str get_begin_date ( build_id : int ) → datetime ¶ĭatetime get_version ( build_id : int ) → str ¶ Returnsīuild status, for example: SUCCESS Return type Union get_status ( build_id : int ) → str ¶īuild_id ( int) – Build identifier. Builds ( quickbuild ) ¶ get_info ( build_id : int, *, content_type : Optional = None ) → Union ¶ QBError – XML validation error delete ( configuration_id : int ) → None ¶ĭelete authorization by configuration_id. Method, remove the id element, modify certain parts and post back to aboveĬonfiguration ( str) – XML/JSON document. Retrieve XML representation of a templating authorization using http GET Normally you do not need to create the XML from scratch: you may QuickBuild will treat the post as an updating to the authorization with Please note that: posted XML should NOT contain the id element otherwise Int create ( configuration : str ) → int ¶Ĭreate an authorization using XML/JSON configuration. ParametersĬonfiguration ( str) – XML document. XML representation of the authorization using http GET method, modifyĬertain parts of the XML and post back to above url. Normally you do not need to create the XML from scratch: you may retrieve
QUICKBUILD MSTEST UPDATE
Update an authorization using XML configuration. Returnsĭict update ( configuration : str ) → int ¶ ParametersĬonfiguration_id ( int) – Configuration identifier. Get authorization info by configuration_id. Returnsĭict get_by_configuration ( configuration_id : int ) → dict ¶

Union get_by_group ( group_id : int ) → dict ¶ List get_info ( authorization_id : int, *, content_type : Optional = None ) → Union ¶Īuthorization_id ( int) – Authorization identifier.Ĭontent_type ( Optional ) – Select needed content type if not set, default value of client List of all authorizations in the system. Authorizations ( quickbuild ) ¶ get ( ) → List ¶ If specified, search builds generated before this date.įirst ( Optional ) – Specified first audit entry to return. Until ( Optional ) – In the format of yyyy-MM-dd HH:mm, for example: 14:00. If specified, search audits generated after this date. Since ( Optional ) – In the format of yyyy-MM-dd HH:mm, for example: 13:00. If not specified, auditsĪction ( Optional ) – Action of the audit to match. Source ( Optional ) – Specify source of audit to match. Username ( Optional ) – Name of the user to audit. Specified in order not to mistakenly return all audits to stress Audits ( quickbuild ) ¶ get ( count : int, *, username : Optional = None, source : Optional = None, action : Optional = None, since : Optional = None, until : Optional = None, first : Optional = None ) → List ¶Ĭount ( int) – Specified number of audit entries to return. Node_address ( str) – Address of target node. This feature is available since QuickBuild 5.1.24 Parameters Get list of running steps on specified build agent. List get_running_steps ( node_address : str ) → Union, str ] ¶ List get_unauthorized ( ) → Union, str ] ¶ Agents ( quickbuild ) ¶ get_active ( ) → Union, str ] ¶

NB: somehow using -H “Accept: application/json,application/xml,*/ *” leads Response ( status, headers, body ) ¶Ĭreate new instance of Response(status, headers, body) property body ¶Īlias for field number 2 property headers ¶Īlias for field number 1 property status ¶Īlias for field number 0 class re. Retry = dict ( total = 10, factor = 1, statuses = )ĪsyncClient instance async close ( ) → None ¶Ĭlose client session class re.

Timeout ( Optional ) – HTTP request timeout. Parsing XML to Python types, or uses native JSON if QB10+ used. Verify ( Optional ) – Verify SSL (default: true).Ĭontent_type ( ContentType) – How to process server content, get native XML as string, or
QUICKBUILD MSTEST PASSWORD
Password ( Optional ) – Password for user. QBClient ( url : str, user : Optional = None, password : Optional = None, *, content_type : ContentType = ContentType.PARSE, verify : bool = True, timeout : Optional = None, retry : Optional = None ) ¶
