error 128 issue debugging

daily
SLW\ARNAUA 2023-06-15 11:55:37 +02:00
parent 03ba0efef0
commit 3a86ac93d7
1 changed files with 7 additions and 7 deletions

14
Jenkinsfile vendored
View File

@ -34,7 +34,7 @@ pipeline {
string(name: 'TODATE', defaultValue: '', description: 'Enter to date in format YYYY-MM-DD e.g. 2021-11-30') string(name: 'TODATE', defaultValue: '', description: 'Enter to date in format YYYY-MM-DD e.g. 2021-11-30')
string(name: 'PRESELECT', defaultValue: 'day', description: 'Enter day | week | month (without |) - auto selects the last full day, week or month') string(name: 'PRESELECT', defaultValue: 'day', description: 'Enter day | week | month (without |) - auto selects the last full day, week or month')
string(name: 'SLICES', defaultValue: 'dt', description: 'Enter h | d | t | y (without spaces or |) - writes the slices hourly, daily, total or year to date into excel given in any order') string(name: 'SLICES', defaultValue: 'dt', description: 'Enter h | d | t | y (without spaces or |) - writes the slices hourly, daily, total or year to date into excel given in any order')
string(name: 'KPI_EXTENSION', defaultValue: 'true', description: 'Enter true or false if the extension should be executed') // string(name: 'KPI_EXTENSION', defaultValue: 'true', description: 'Enter true or false if the extension should be executed')
} }
// here comes the trigger according to crontabs - jenkins is in UTC // here comes the trigger according to crontabs - jenkins is in UTC
@ -71,8 +71,8 @@ pipeline {
EUPRODSAAS_TOKEN_VAR = credentials('EUPRODSAAS_TOKEN_VAR') EUPRODSAAS_TOKEN_VAR = credentials('EUPRODSAAS_TOKEN_VAR')
FROM_DATE="${params.FROMDATE}" FROM_DATE="${params.FROMDATE}"
TO_DATE="${params.TODATE}" TO_DATE="${params.TODATE}"
REPORT_TYPE="${params.PRESELECT}" // REPORT_TYPE="${params.PRESELECT}"
KPI_EXTENSION="${params.KPI_EXTENSION}" // KPI_EXTENSION="${params.KPI_EXTENSION}"
} }
stages { stages {
@ -161,10 +161,10 @@ pipeline {
sh "python3 summary.py" sh "python3 summary.py"
summary = readFile('summary.txt').trim() summary = readFile('summary.txt').trim()
if (KPI_EXTENSION=='true') { // if (KPI_EXTENSION=='true') {
echo "Executing KPI Extension" // echo "Executing KPI Extension"
sh "python3 kpi_extension.py" // sh "python3 kpi_extension.py"
} // }
} }
} }