def delivery_pipeline(registry, xml_parent, data):
 pipeline = XML.SubElement(xml_parent, 'se.diabol.jenkins.pipeline.PipelineProperty')
 pipeline.set('plugin', 'delivery-pipeline-plugin')
 mapping = [('stage', 'stageName', ''), ('task', 'taskName', ''), ('description', 'descriptionTemplate', '')]
 helpers.convert_mapping_to_xml(pipeline, data, mapping, fail_required=True)

def delivery_pipeline ( registry , xml_parent , data ) : pipeline = XML . SubElement ( xml_parent , 'se.diabol.jenkins.pipeline.PipelineProperty' ) pipeline . set ( 'plugin' , 'delivery-pipeline-plugin' ) mapping = [ ( 'stage' , 'stageName' , '' ) , ( 'task' , 'taskName' , '' ) , ( 'description' , 'descriptionTemplate' , '' ) ] helpers . convert_mapping_to_xml ( pipeline , data , mapping , fail_required = True )
yaml: delivery-pipeline if enabled the job will create a version based on the template .