From 501cded6328d0e8f331a95bbd8cdc6655dea3523 Mon Sep 17 00:00:00 2001 From: ermisw Date: Thu, 29 Dec 2022 15:11:21 +0100 Subject: [PATCH] added jenkinsfile --- jenkinsfile | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/jenkinsfile b/jenkinsfile index 25eb6a8..a736186 100644 --- a/jenkinsfile +++ b/jenkinsfile @@ -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