Skip to content

Commit 09f070c

Browse files
committed
Increase timeout waiting for scratch build
Scratch builds for some projects take longer than 4 hours, and there may also be delays if koji is under heavy load, e.g. during a mass rebuild. Increase the timeout to 10 hours. Related to: https://pagure.io/fedora-ci/general/issue/485
1 parent 6ecc543 commit 09f070c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pipeline {
8888

8989
steps {
9090
script {
91-
timeout(time: 240, unit: 'MINUTES') {
91+
timeout(time: 600, unit: 'MINUTES') {
9292
def rc = sh(returnStatus: true, script: "./scratch-build.sh koji ${releaseId}-candidate git+https://src.fedoraproject.org/${sourceRepo}.git#${params.PR_COMMIT}")
9393
if (fileExists('koji_url')) {
9494
kojiUrl = readFile("${env.WORKSPACE}/koji_url").trim()

0 commit comments

Comments
 (0)