Options in Jenkinsfile

This commit is contained in:
Guillem Hernandez Sola
2026-04-13 17:52:04 +02:00
parent 526272fe30
commit 50df25d86e
42 changed files with 180 additions and 38 deletions

View File

@@ -1,6 +1,13 @@
pipeline {
agent any
options {
timeout(time: 15, unit: 'MINUTES')
timestamps()
buildDiscarder(logRotator(numToKeepStr: '10'))
disableConcurrentBuilds()
}
triggers {
// 'H' balances the load on Jenkins, running roughly every 30 minutes
cron('H/30 * * * *')