def msbuild(registry, xml_parent, data):
 msbuilder = XML.SubElement(xml_parent, 'hudson.plugins.msbuild.MsBuildBuilder')
 msbuilder.set('plugin', 'msbuild')
 mapping = [('msbuild-version', 'msBuildName', '(Default)'), ('solution-file', 'msBuildFile', None), ('extra-parameters', 'cmdLineArgs', ''), ('pass-build-variables', 'buildVariablesAsProperties', True), ('continue-on-build-failure', 'continueOnBuildFailure', False), ('unstable-if-warnings', 'unstableIfWarnings', False)]
 convert_mapping_to_xml(msbuilder, data, mapping, fail_required=True)

def msbuild ( registry , xml_parent , data ) : msbuilder = XML . SubElement ( xml_parent , 'hudson.plugins.msbuild.MsBuildBuilder' ) msbuilder . set ( 'plugin' , 'msbuild' ) mapping = [ ( 'msbuild-version' , 'msBuildName' , '(Default)' ) , ( 'solution-file' , 'msBuildFile' , None ) , ( 'extra-parameters' , 'cmdLineArgs' , '' ) , ( 'pass-build-variables' , 'buildVariablesAsProperties' , True ) , ( 'continue-on-build-failure' , 'continueOnBuildFailure' , False ) , ( 'unstable-if-warnings' , 'unstableIfWarnings' , False ) ] convert_mapping_to_xml ( msbuilder , data , mapping , fail_required = True )
yaml: msbuild build .