From 50df25d86e6958b7f68c7d0f773b69640167d490 Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Mon, 13 Apr 2026 17:52:04 +0200 Subject: [PATCH] Options in Jenkinsfile --- jenkins/324RSS | 7 +++++++ jenkins/324Tw | 5 ++++- jenkins/3catTw | 5 ++++- jenkins/FCBFutbolSalaTw | 5 ++++- jenkins/FCBHandbolTw | 5 ++++- jenkins/FCBHoqueiTw | 5 ++++- jenkins/FCBMasiaTw | 5 ++++- jenkins/VersioRAC1Tw | 5 ++++- jenkins/apmTw | 5 ++++- jenkins/beteveTw | 5 ++++- jenkins/bomberscatTw | 5 ++++- jenkins/btvBasicsTw | 5 ++++- jenkins/btvEsportsTw | 5 ++++- jenkins/btvLlenguaTw | 5 ++++- jenkins/btvNoticiesTw | 5 ++++- jenkins/comedygoldbcnTw | 5 ++++- jenkins/crunchyRSS | 7 +++++++ jenkins/crunchyTw | 5 ++++- jenkins/ePrss | 7 +++++++ jenkins/elmonaRAC1Tw | 5 ++++- jenkins/emergenciescatTw | 5 ++++- jenkins/esport3Tw | 5 ++++- jenkins/esportsRAC1Tw | 5 ++++- jenkins/esportsenxarxaTw | 5 ++++- jenkins/fcbRAC1Tw | 5 ++++- jenkins/fcbarcelonaTw | 5 ++++- jenkins/fcbatleticTw | 5 ++++- jenkins/fcbbasketTw | 5 ++++- jenkins/fcbfemeniTw | 5 ++++- jenkins/laCompetenciaRAC1Tw | 5 ++++- jenkins/laxarxamesTw | 5 ++++- jenkins/meteoRAC1Tw | 5 ++++- jenkins/meteocatTw | 5 ++++- jenkins/mossosTw | 5 ++++- jenkins/nohoseRAC1Tw | 5 ++++- jenkins/optimotTw | 5 ++++- jenkins/polonia3CatTw | 5 ++++- jenkins/rac1rss | 7 +++++++ jenkins/semgencatTw | 5 ++++- jenkins/transitTw | 5 ++++- jenkins/versioRac1MergedTw | 5 ++++- jenkins/vialliureRAC1Tw | 5 ++++- 42 files changed, 180 insertions(+), 38 deletions(-) diff --git a/jenkins/324RSS b/jenkins/324RSS index f66aa94..4c7505f 100644 --- a/jenkins/324RSS +++ b/jenkins/324RSS @@ -1,5 +1,12 @@ 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 diff --git a/jenkins/324Tw b/jenkins/324Tw index 069af1c..55c1744 100644 --- a/jenkins/324Tw +++ b/jenkins/324Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/3catTw b/jenkins/3catTw index 2a5f32c..6da59fe 100644 --- a/jenkins/3catTw +++ b/jenkins/3catTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/FCBFutbolSalaTw b/jenkins/FCBFutbolSalaTw index 6fa312c..dba5ba0 100644 --- a/jenkins/FCBFutbolSalaTw +++ b/jenkins/FCBFutbolSalaTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/FCBHandbolTw b/jenkins/FCBHandbolTw index d9741b2..ee949a4 100644 --- a/jenkins/FCBHandbolTw +++ b/jenkins/FCBHandbolTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/FCBHoqueiTw b/jenkins/FCBHoqueiTw index 8209fe4..761629b 100644 --- a/jenkins/FCBHoqueiTw +++ b/jenkins/FCBHoqueiTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/FCBMasiaTw b/jenkins/FCBMasiaTw index ad21318..2aac6df 100644 --- a/jenkins/FCBMasiaTw +++ b/jenkins/FCBMasiaTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/VersioRAC1Tw b/jenkins/VersioRAC1Tw index 1bb0a54..6772cc4 100644 --- a/jenkins/VersioRAC1Tw +++ b/jenkins/VersioRAC1Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/apmTw b/jenkins/apmTw index ac60b19..4730362 100644 --- a/jenkins/apmTw +++ b/jenkins/apmTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/beteveTw b/jenkins/beteveTw index 4215aec..f229114 100644 --- a/jenkins/beteveTw +++ b/jenkins/beteveTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/bomberscatTw b/jenkins/bomberscatTw index ae4d40b..3eba454 100644 --- a/jenkins/bomberscatTw +++ b/jenkins/bomberscatTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/btvBasicsTw b/jenkins/btvBasicsTw index fc2bb97..21d8474 100644 --- a/jenkins/btvBasicsTw +++ b/jenkins/btvBasicsTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/btvEsportsTw b/jenkins/btvEsportsTw index 8c1910d..8ce5fd6 100644 --- a/jenkins/btvEsportsTw +++ b/jenkins/btvEsportsTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/btvLlenguaTw b/jenkins/btvLlenguaTw index 75a39e2..e714828 100644 --- a/jenkins/btvLlenguaTw +++ b/jenkins/btvLlenguaTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/btvNoticiesTw b/jenkins/btvNoticiesTw index 349e174..f3b7653 100644 --- a/jenkins/btvNoticiesTw +++ b/jenkins/btvNoticiesTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/comedygoldbcnTw b/jenkins/comedygoldbcnTw index 773537e..5ea74af 100644 --- a/jenkins/comedygoldbcnTw +++ b/jenkins/comedygoldbcnTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/crunchyRSS b/jenkins/crunchyRSS index a43531c..3d83c02 100644 --- a/jenkins/crunchyRSS +++ b/jenkins/crunchyRSS @@ -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 * * * *') diff --git a/jenkins/crunchyTw b/jenkins/crunchyTw index 386ebbc..a56d0ba 100644 --- a/jenkins/crunchyTw +++ b/jenkins/crunchyTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/ePrss b/jenkins/ePrss index bcbf47c..3564884 100644 --- a/jenkins/ePrss +++ b/jenkins/ePrss @@ -1,5 +1,12 @@ pipeline { agent any + + options { + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() + } triggers { cron('H */6 * * *') diff --git a/jenkins/elmonaRAC1Tw b/jenkins/elmonaRAC1Tw index a0e0585..d8360cb 100644 --- a/jenkins/elmonaRAC1Tw +++ b/jenkins/elmonaRAC1Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/emergenciescatTw b/jenkins/emergenciescatTw index f697c0b..beb1426 100644 --- a/jenkins/emergenciescatTw +++ b/jenkins/emergenciescatTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/esport3Tw b/jenkins/esport3Tw index 5df0403..7d28277 100644 --- a/jenkins/esport3Tw +++ b/jenkins/esport3Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/esportsRAC1Tw b/jenkins/esportsRAC1Tw index 820bcea..68fc558 100644 --- a/jenkins/esportsRAC1Tw +++ b/jenkins/esportsRAC1Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/esportsenxarxaTw b/jenkins/esportsenxarxaTw index 8648fd3..40e6432 100644 --- a/jenkins/esportsenxarxaTw +++ b/jenkins/esportsenxarxaTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/fcbRAC1Tw b/jenkins/fcbRAC1Tw index ee4e486..1684908 100644 --- a/jenkins/fcbRAC1Tw +++ b/jenkins/fcbRAC1Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/fcbarcelonaTw b/jenkins/fcbarcelonaTw index 5f5a52b..1ef7aa8 100644 --- a/jenkins/fcbarcelonaTw +++ b/jenkins/fcbarcelonaTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/fcbatleticTw b/jenkins/fcbatleticTw index b01373d..0675d15 100644 --- a/jenkins/fcbatleticTw +++ b/jenkins/fcbatleticTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/fcbbasketTw b/jenkins/fcbbasketTw index 1b2f0bd..4f3bd16 100644 --- a/jenkins/fcbbasketTw +++ b/jenkins/fcbbasketTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/fcbfemeniTw b/jenkins/fcbfemeniTw index 7e39f8d..d510812 100644 --- a/jenkins/fcbfemeniTw +++ b/jenkins/fcbfemeniTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/laCompetenciaRAC1Tw b/jenkins/laCompetenciaRAC1Tw index 06d52f1..288f0ae 100644 --- a/jenkins/laCompetenciaRAC1Tw +++ b/jenkins/laCompetenciaRAC1Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/laxarxamesTw b/jenkins/laxarxamesTw index 591834c..997e89e 100644 --- a/jenkins/laxarxamesTw +++ b/jenkins/laxarxamesTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/meteoRAC1Tw b/jenkins/meteoRAC1Tw index d56efce..54342a6 100644 --- a/jenkins/meteoRAC1Tw +++ b/jenkins/meteoRAC1Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/meteocatTw b/jenkins/meteocatTw index 1377d89..f6e1825 100644 --- a/jenkins/meteocatTw +++ b/jenkins/meteocatTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/mossosTw b/jenkins/mossosTw index 355fa1e..700459b 100644 --- a/jenkins/mossosTw +++ b/jenkins/mossosTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/nohoseRAC1Tw b/jenkins/nohoseRAC1Tw index 563d5a0..49db120 100644 --- a/jenkins/nohoseRAC1Tw +++ b/jenkins/nohoseRAC1Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/optimotTw b/jenkins/optimotTw index 91a8100..18fa270 100644 --- a/jenkins/optimotTw +++ b/jenkins/optimotTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/polonia3CatTw b/jenkins/polonia3CatTw index 37611ba..1f9ab47 100644 --- a/jenkins/polonia3CatTw +++ b/jenkins/polonia3CatTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/rac1rss b/jenkins/rac1rss index 29c543d..664bfab 100644 --- a/jenkins/rac1rss +++ b/jenkins/rac1rss @@ -1,5 +1,12 @@ pipeline { agent any + + options { + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() + } triggers { // Runs every 30 minutes, matching your GitHub Action cron diff --git a/jenkins/semgencatTw b/jenkins/semgencatTw index 2cc8980..4c945ea 100644 --- a/jenkins/semgencatTw +++ b/jenkins/semgencatTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/transitTw b/jenkins/transitTw index a88bd06..6481c55 100644 --- a/jenkins/transitTw +++ b/jenkins/transitTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/versioRac1MergedTw b/jenkins/versioRac1MergedTw index b354572..222c13f 100644 --- a/jenkins/versioRac1MergedTw +++ b/jenkins/versioRac1MergedTw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers { diff --git a/jenkins/vialliureRAC1Tw b/jenkins/vialliureRAC1Tw index fb3943d..3c62bf0 100644 --- a/jenkins/vialliureRAC1Tw +++ b/jenkins/vialliureRAC1Tw @@ -2,7 +2,10 @@ pipeline { agent any options { - skipDefaultCheckout(true) + timeout(time: 15, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '10')) + disableConcurrentBuilds() } triggers {