Skip to content

Commit 9c15c74

Browse files
committed
Increase nightly job timeout and move it to a different timeslot
1 parent 6bae94f commit 9c15c74

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jenkins/nightly/Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def withMavenWorkspace(jdk, Closure body) {
2727
pipeline {
2828
agent none
2929
triggers {
30-
cron '@midnight'
30+
cron 'H H(4-6) * * *'
3131
}
3232
options {
3333
buildDiscarder logRotator(daysToKeepStr: '10', numToKeepStr: '3')
@@ -44,7 +44,7 @@ pipeline {
4444
steps {
4545
// The timeout cannot be in stage options, because that would
4646
// include the time needed to provision a node.
47-
timeout(time: 15, unit: 'MINUTES') {
47+
timeout(time: 30, unit: 'MINUTES') {
4848
withMavenWorkspace {
4949
echo "Generate the artifacts."
5050
sh "mvn clean install -Preproducibility-check"
@@ -70,7 +70,7 @@ pipeline {
7070
}
7171
// The timeout cannot be in stage options, because that would
7272
// include the time needed to provision a node.
73-
timeout(time: 15, unit: 'MINUTES') {
73+
timeout(time: 30, unit: 'MINUTES') {
7474
withMavenWorkspace(jdkVersion, {
7575
script {
7676
compilerToolPath = tool(name: jdkVersion, type: 'jdk')
@@ -97,7 +97,7 @@ pipeline {
9797
steps {
9898
// The timeout cannot be in stage options, because that would
9999
// include the time needed to provision a node.
100-
timeout(time: 15, unit: 'MINUTES') {
100+
timeout(time: 30, unit: 'MINUTES') {
101101
withMavenWorkspace {
102102
echo "Generate documentation and distribution packages."
103103
sh """mvn clean install \

0 commit comments

Comments
 (0)