76
76
'blockBuildWhenUpstreamBuilding').text = 'false'
77
79
if data.get('concurrent'):
78
80
XML.SubElement(xml, 'concurrentBuild').text = 'true'
80
82
XML.SubElement(xml, 'concurrentBuild').text = 'false'
81
86
if('quiet-period' in data):
82
87
XML.SubElement(xml, 'quietPeriod').text = str(data['quiet-period'])
83
88
node = data.get('node', None)
85
90
XML.SubElement(xml, 'assignedNode').text = node
86
91
XML.SubElement(xml, 'canRoam').text = 'false'
88
95
lr_xml = XML.SubElement(xml, 'logRotator')
89
96
logrotate = data['logrotate']