adapted script
parent
27fc4e4f34
commit
31a40bc595
|
|
@ -90,8 +90,8 @@
|
||||||
try {
|
try {
|
||||||
emailext subject: env.JOB_NAME,
|
emailext subject: env.JOB_NAME,
|
||||||
body: 'Please find the output of the weekly QM-Report attached',
|
body: 'Please find the output of the weekly QM-Report attached',
|
||||||
to: 'rene.forstner@nttdata.com',
|
//to: 'rene.forstner@nttdata.com',
|
||||||
//to: 'rene.forstner@nttdata.com, stephan.oertelt@bmw.de, Mohammed.Abadel@bmw.de, OOC-Support@bmwgroup.com, Sonja.Yildizoglu@bmw.de, Andreas.DA.Danzer@partner.bmw.de',
|
to: 'rene.forstner@nttdata.com, stephan.oertelt@bmw.de, Mohammed.Abadel@bmw.de, OOC-Support@bmwgroup.com, Sonja.Yildizoglu@bmw.de, Andreas.DA.Danzer@partner.bmw.de',
|
||||||
replyTo: 'coco-apm@bmw.de',
|
replyTo: 'coco-apm@bmw.de',
|
||||||
attachmentsPattern: '*.xlsx'
|
attachmentsPattern: '*.xlsx'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@ def main():
|
||||||
dailyall = dailyall[dailyall['Touchpoint'].isin(touchpoints)]
|
dailyall = dailyall[dailyall['Touchpoint'].isin(touchpoints)]
|
||||||
totalall = totalall[totalall['Touchpoint'].isin(touchpoints)]
|
totalall = totalall[totalall['Touchpoint'].isin(touchpoints)]
|
||||||
|
|
||||||
writer = pd.ExcelWriter("./QM_Report.xlsx")
|
writer = pd.ExcelWriter("./QM_Report_" + str(fromDate.isocalendar()[1]) + ".xlsx")
|
||||||
totalall.to_excel(writer, sheet_name='total')
|
totalall.to_excel(writer, sheet_name='total')
|
||||||
dailyall.to_excel(writer, sheet_name='daily')
|
dailyall.to_excel(writer, sheet_name='daily')
|
||||||
writer.save()
|
writer.save()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue