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 @@ -36,6 +36,10 @@ name: TOX_ENVIRONMENT description: tox environment to use for the main tox run default: "{default-tox-environment}" + wrappers: + - timeout: + timeout: 30 + abort: true dsl: !include-jinja2: swh-pipeline.groovy.j2 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: 30, 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 @@ -29,6 +29,10 @@ name: TOX_ENVIRONMENT description: tox environment to use for the main tox run default: "{default-tox-environment}" + wrappers: + - timeout: + timeout: 30 + abort: true dsl: !include-jinja2: swh-pipeline.groovy.j2