From 494174d3fb9223f965f6762b69bdd45e5c15291a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artur=20Ku=C5=9B?= Date: Mon, 28 Apr 2025 08:45:44 +0200 Subject: [PATCH] options { disableConcurrentBuilds() timeout(time: 1, unit: 'HOURS') buildDiscarder(logRotator(numToKeepStr: '10')) // Konfiguracja harmonogramu triggers { cron('H H 1,6,11,16,21,26 * *') } } --- .../lets-encrypt/lets-encrypt-renew.jenkinsfile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/deploy-this/lets-encrypt/lets-encrypt-renew.jenkinsfile b/deploy-this/lets-encrypt/lets-encrypt-renew.jenkinsfile index 9ea554b..98647b5 100755 --- a/deploy-this/lets-encrypt/lets-encrypt-renew.jenkinsfile +++ b/deploy-this/lets-encrypt/lets-encrypt-renew.jenkinsfile @@ -2,11 +2,16 @@ pipeline { agent any - properties([ - pipelineTriggers([ - cron('H H 1,6,11,16,21,26 * *') // Lepsza wersja - ]) - ]) + options { + disableConcurrentBuilds() + timeout(time: 1, unit: 'HOURS') + buildDiscarder(logRotator(numToKeepStr: '10')) + + // Konfiguracja harmonogramu + triggers { + cron('H H 1,6,11,16,21,26 * *') + } + } stages { stage('Make https cert for my domains') {