Compare commits
3 Commits
97e6763015
...
aee87082a5
| Author | SHA1 | Date |
|---|---|---|
|
|
aee87082a5 | |
|
|
a2159a4d4f | |
|
|
9814c83222 |
|
|
@ -36,7 +36,7 @@ def reportRetryCount = 0
|
|||
string(name: 'SLICES', defaultValue: 'tdhy', description: 'Enter h | d | t | y (without spaces or |) - writes the slices hourly, daily, total or year to date into ecxel. given in any order')
|
||||
}
|
||||
|
||||
//here comes the trigger according to crontabs - jenkins is in UTC
|
||||
vhere comes the trigger according to crontabs - jenkins is in UTC
|
||||
|
||||
triggers {
|
||||
//every 1st of every month at 00:00
|
||||
|
|
@ -46,7 +46,7 @@ def reportRetryCount = 0
|
|||
//cron('0 8 * * *')
|
||||
|
||||
//every monday at 06:00
|
||||
cron('0 4 * * 1')
|
||||
//cron('0 4 * * 1')
|
||||
|
||||
//parameterizedCron('0 10 * * * %PRESELECT=week;SLICES=tdhy')
|
||||
|
||||
|
|
@ -149,7 +149,7 @@ def reportRetryCount = 0
|
|||
//to: 'rene.forstner@nttdata.com, ermis.wieger@nttdata.com, patryk.gudalewicz.bp@nttdata.com',
|
||||
//to: 'patryk.gudalewicz.bp@nttdata.com',
|
||||
//to: 'rene.forstner@nttdata.com, ermis.wieger@nttdata.com, arnel.arnautovic@nttdata.com, patryk.gudalewicz.bp@nttdata.com, stephan.oertelt@bmw.de, Mohammed.Abadel@bmw.de, michaela.jaeger@bmw.de, OOC-Support@bmwgroup.com, Andreas.DB.Danzer@bmwgroup.com',
|
||||
to: 'coco-apm@bmw.de, stephan.oertelt@bmw.de, Mohammed.Abadel@bmw.de, michaela.jaeger@bmw.de, OOC-Support@bmwgroup.com, Andreas.DB.Danzer@bmwgroup.com',
|
||||
to: 'Andreas.DB.Danzer@bmwgroup.com',
|
||||
replyTo: 'coco-apm@bmw.de',
|
||||
attachmentsPattern: '*.xlsx'
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ def previous_week_range(date):
|
|||
return start_date, end_date
|
||||
|
||||
def previous_month_range(date):
|
||||
end_date = date.replace(day=1) - datetime.timedelta(days=1)
|
||||
end_date = datetime.date.today() #date.replace(day=1) - datetime.timedelta(days=1)
|
||||
start_date = end_date.replace(day=1)
|
||||
return start_date, end_date
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue