def nexus_artifact_uploader(registry, xml_parent, data):
 nexus_artifact_uploader = XML.SubElement(xml_parent, 'sp.sd.nexusartifactuploader.NexusArtifactUploader')
 mapping = [('protocol', 'protocol', 'https'), ('nexus_url', 'nexusUrl', ''), ('nexus_user', 'nexusUser', ''), ('nexus_password', 'nexusPassword', ''), ('group_id', 'groupId', ''), ('artifact_id', 'artifactId', ''), ('version', 'version', ''), ('packaging', 'packaging', ''), ('type', 'type', ''), ('classifier', 'classifier', ''), ('repository', 'repository', ''), ('file', 'file', ''), ('credentials_id', 'credentialsId', '')]
 convert_mapping_to_xml(nexus_artifact_uploader, data, mapping, fail_required=True)

def nexus_artifact_uploader ( registry , xml_parent , data ) : nexus_artifact_uploader = XML . SubElement ( xml_parent , 'sp.sd.nexusartifactuploader.NexusArtifactUploader' ) mapping = [ ( 'protocol' , 'protocol' , 'https' ) , ( 'nexus_url' , 'nexusUrl' , '' ) , ( 'nexus_user' , 'nexusUser' , '' ) , ( 'nexus_password' , 'nexusPassword' , '' ) , ( 'group_id' , 'groupId' , '' ) , ( 'artifact_id' , 'artifactId' , '' ) , ( 'version' , 'version' , '' ) , ( 'packaging' , 'packaging' , '' ) , ( 'type' , 'type' , '' ) , ( 'classifier' , 'classifier' , '' ) , ( 'repository' , 'repository' , '' ) , ( 'file' , 'file' , '' ) , ( 'credentials_id' , 'credentialsId' , '' ) ] convert_mapping_to_xml ( nexus_artifact_uploader , data , mapping , fail_required = True )
yaml: nexus-artifact-uploader to upload result of a build as an artifact in nexus without the need of maven .