options {

disableConcurrentBuilds()
        timeout(time: 1, unit: 'HOURS')
        buildDiscarder(logRotator(numToKeepStr: '10'))

        // Konfiguracja harmonogramu
        triggers {
            cron('H H 1,6,11,16,21,26 * *')
        }
    }
This commit is contained in:
Artur Kuś 2025-04-28 08:45:44 +02:00
parent e9ce03dd02
commit 494174d3fb
1 changed files with 10 additions and 5 deletions

View File

@ -2,11 +2,16 @@ pipeline {
agent any agent any
properties([ options {
pipelineTriggers([ disableConcurrentBuilds()
cron('H H 1,6,11,16,21,26 * *') // Lepsza wersja timeout(time: 1, unit: 'HOURS')
]) buildDiscarder(logRotator(numToKeepStr: '10'))
])
// Konfiguracja harmonogramu
triggers {
cron('H H 1,6,11,16,21,26 * *')
}
}
stages { stages {
stage('Make https cert for my domains') { stage('Make https cert for my domains') {