def openshift_svc_verify(registry, xml_parent, data):
 osb = XML.SubElement(xml_parent, 'com.openshift.jenkins.plugins.pipeline.OpenShiftServiceVerifier')
 mapping = [('api-url', 'apiURL', 'https://openshift.default.svc.cluster.local'), ('svc-name', 'svcName', 'frontend'), ('namespace', 'namespace', 'test'), ('auth-token', 'authToken', ''), ('verbose', 'verbose', False)]
 convert_mapping_to_xml(osb, data, mapping, fail_required=True)

def openshift_svc_verify ( registry , xml_parent , data ) : osb = XML . SubElement ( xml_parent , 'com.openshift.jenkins.plugins.pipeline.OpenShiftServiceVerifier' ) mapping = [ ( 'api-url' , 'apiURL' , 'https://openshift.default.svc.cluster.local' ) , ( 'svc-name' , 'svcName' , 'frontend' ) , ( 'namespace' , 'namespace' , 'test' ) , ( 'auth-token' , 'authToken' , '' ) , ( 'verbose' , 'verbose' , False ) ] convert_mapping_to_xml ( osb , data , mapping , fail_required = True )
yaml: openshift-svc-verify verify a service is up in openshift for the job .