diff --git a/jobs/swh-packages.yaml b/jobs/swh-packages.yaml --- a/jobs/swh-packages.yaml +++ b/jobs/swh-packages.yaml @@ -299,6 +299,7 @@ pkg: web python_module: swh.web do_cypress: true + timeout: 20 jobs: - "swh-jobs-{name}" diff --git a/jobs/templates/swh-pipeline-diff.yaml b/jobs/templates/swh-pipeline-diff.yaml --- a/jobs/templates/swh-pipeline-diff.yaml +++ b/jobs/templates/swh-pipeline-diff.yaml @@ -11,6 +11,7 @@ auth-token: 'ph4br1cat0r' phabricator_diff: true do_cypress: false + timeout: 20 properties: - build-discarder: artifact-num-to-keep: 20 diff --git a/jobs/templates/swh-pipeline.groovy.j2 b/jobs/templates/swh-pipeline.groovy.j2 --- a/jobs/templates/swh-pipeline.groovy.j2 +++ b/jobs/templates/swh-pipeline.groovy.j2 @@ -87,7 +87,7 @@ stage('Tests') { options { - timeout(time: 20, unit: 'MINUTES') + timeout(time: {{ timeout }}, unit: 'MINUTES') } parallel { diff --git a/jobs/templates/swh-pipeline.yaml b/jobs/templates/swh-pipeline.yaml --- a/jobs/templates/swh-pipeline.yaml +++ b/jobs/templates/swh-pipeline.yaml @@ -16,6 +16,7 @@ artifact-num-to-keep: 20 phabricator_diff: false do_cypress: false + timeout: 20 parameters: - git-parameter: name: REVISION