def openshift_img_streams(registry, xml_parent, data):
 scm = XML.SubElement(xml_parent, 'scm', {'class': 'com.openshift.jenkins.plugins.pipeline.OpenShiftImageStreams'})
 mapping = [('image-stream-name', 'imageStreamName', 'nodejs-010-centos7'), ('tag', 'tag', 'latest'), ('api-url', 'apiURL', 'https://openshift.default.svc.cluster.local'), ('namespace', 'namespace', 'test'), ('auth-token', 'authToken', ''), ('verbose', 'verbose', False)]
 convert_mapping_to_xml(scm, data, mapping, fail_required=True)

def openshift_img_streams ( registry , xml_parent , data ) : scm = XML . SubElement ( xml_parent , 'scm' , { 'class' : 'com.openshift.jenkins.plugins.pipeline.OpenShiftImageStreams' } ) mapping = [ ( 'image-stream-name' , 'imageStreamName' , 'nodejs-010-centos7' ) , ( 'tag' , 'tag' , 'latest' ) , ( 'api-url' , 'apiURL' , 'https://openshift.default.svc.cluster.local' ) , ( 'namespace' , 'namespace' , 'test' ) , ( 'auth-token' , 'authToken' , '' ) , ( 'verbose' , 'verbose' , False ) ] convert_mapping_to_xml ( scm , data , mapping , fail_required = True )
yaml: openshift-img-streams rather than a build step extension plugin .