def env_file(registry, xml_parent, data):
 eib = XML.SubElement(xml_parent, 'hudson.plugins.envfile.EnvFileBuildWrapper')
 jenkins_jobs.modules.base.add_nonblank_xml_subelement(eib, 'filePath', data.get('properties-file'))

def env_file ( registry , xml_parent , data ) : eib = XML . SubElement ( xml_parent , 'hudson.plugins.envfile.EnvFileBuildWrapper' ) jenkins_jobs . modules . base . add_nonblank_xml_subelement ( eib , 'filePath' , data . get ( 'properties-file' ) )
yaml: env-file add or override environment variables to the whole build process requires the jenkins :jenkins-wiki:environment file plugin <envfile+plugin> .