From 0a1f01998cc594955fa17a36762641a423c254b5 Mon Sep 17 00:00:00 2001 From: marko-bekhta Date: Fri, 14 Feb 2025 10:07:03 +0100 Subject: [PATCH] Increase nightly job timeout and move it to a different timeslot --- jenkins/nightly/Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jenkins/nightly/Jenkinsfile b/jenkins/nightly/Jenkinsfile index 66323ffbd..e5210420e 100644 --- a/jenkins/nightly/Jenkinsfile +++ b/jenkins/nightly/Jenkinsfile @@ -27,7 +27,7 @@ def withMavenWorkspace(jdk, Closure body) { pipeline { agent none triggers { - cron '@midnight' + cron 'H H(4-6) * * *' } options { buildDiscarder logRotator(daysToKeepStr: '10', numToKeepStr: '3') @@ -44,7 +44,7 @@ pipeline { steps { // The timeout cannot be in stage options, because that would // include the time needed to provision a node. - timeout(time: 15, unit: 'MINUTES') { + timeout(time: 30, unit: 'MINUTES') { withMavenWorkspace { echo "Generate the artifacts." sh "mvn clean install -Preproducibility-check" @@ -70,7 +70,7 @@ pipeline { } // The timeout cannot be in stage options, because that would // include the time needed to provision a node. - timeout(time: 15, unit: 'MINUTES') { + timeout(time: 30, unit: 'MINUTES') { withMavenWorkspace(jdkVersion, { script { compilerToolPath = tool(name: jdkVersion, type: 'jdk') @@ -97,7 +97,7 @@ pipeline { steps { // The timeout cannot be in stage options, because that would // include the time needed to provision a node. - timeout(time: 15, unit: 'MINUTES') { + timeout(time: 30, unit: 'MINUTES') { withMavenWorkspace { echo "Generate documentation and distribution packages." sh """mvn clean install \