added jenkinsfile

master
ermisw 2022-12-29 15:11:21 +01:00
parent 47e610b5b7
commit 501cded632
1 changed files with 1 additions and 26 deletions

View File

@ -21,34 +21,9 @@
options {
ansiColor('xterm')
}
//label libraryBuild is available in CN JAWS and ROW JAWS, therefore this one was used; no additional intents
// agent {label 'jaws-slaves'}
agent {label 'jaws-slaves'}
// parameters {
// string(name: 'FROMDATE', defaultValue: '', description: 'Enter from date in format YYYY-MM-DD e.g. 2021-11-01')
// 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 week | month (without |) - auto selects the last full week or last full month')
// string(name: 'SLICES', defaultValue: 'dh', 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
triggers {
//every 1st of every month at 00:00
//cron('0 0 1 * *')
//every day at 08:00
//cron('0 8 * * *')
//every monday at 06:00
//cron('0 5 * * 2-5')
//parameterizedCron('0 10 * * * %PRESELECT=week;SLICES=tdhy')
}
environment {
//ProxySettings