def bitbucket(registry, xml_parent, data):
 bbtrig = XML.SubElement(xml_parent, 'com.cloudbees.jenkins.plugins.BitBucketTrigger')
 XML.SubElement(bbtrig, 'spec').text = ''

def bitbucket ( registry , xml_parent , data ) : bbtrig = XML . SubElement ( xml_parent , 'com.cloudbees.jenkins.plugins.BitBucketTrigger' ) XML . SubElement ( bbtrig , 'spec' ) . text = ''
yaml: bitbucket trigger a job when bitbucket repository is pushed to .