Skip to content

Commit

Permalink
Increase nightly job timeout and move it to a different timeslot
Browse files Browse the repository at this point in the history
  • Loading branch information
marko-bekhta committed Feb 14, 2025
1 parent 6bae94f commit 0a1f019
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jenkins/nightly/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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"
Expand All @@ -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')
Expand All @@ -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 \
Expand Down

0 comments on commit 0a1f019

Please sign in to comment.