Page MenuHomeSoftware Heritage

D5647.id20160.diff
No OneTemporary

D5647.id20160.diff

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
@@ -81,40 +81,42 @@
}
} // static analysis
- stage('Tests') {
- options {
- timeout(time: 20, unit: 'MINUTES')
- }
+ parallel {
+ stage('Tests') {
+ options {
+ timeout(time: 20, unit: 'MINUTES')
+ }
- parallel {
- {% filter indent(width=8) %}
- {%- include 'includes/stage-python-tests.groovy.j2' -%}
- {% endfilter %}
+ parallel {
+ {% filter indent(width=8) %}
+ {%- include 'includes/stage-python-tests.groovy.j2' -%}
+ {% endfilter %}
- {%- if do_cypress %}
- {% filter indent(width=8) %}
- {%- include 'includes/stage-cypress-tests.groovy.j2' -%}
- {% endfilter %}
- {%- endif %}
+ {%- if do_cypress %}
+ {% filter indent(width=8) %}
+ {%- include 'includes/stage-cypress-tests.groovy.j2' -%}
+ {% endfilter %}
+ {%- endif %}
+ }
}
- }
- stage('Sphinx documentation') {
- {% filter indent(width=6) %}
- {%- include 'includes/agent-docker-sphinx.groovy.j2' -%}
- {% endfilter %}
+ stage('Sphinx documentation') {
+ {% filter indent(width=6) %}
+ {%- include 'includes/agent-docker-sphinx.groovy.j2' -%}
+ {% endfilter %}
- steps {
- sh '''
- if tox -a | grep -x sphinx >/dev/null
- then
- tox -e sphinx
- else
- echo WARNING: no sphinx environment in tox.ini
- fi
- '''
- }
- } // sphinx doc
+ steps {
+ sh '''
+ if tox -a | grep -x sphinx >/dev/null
+ then
+ tox -e sphinx
+ else
+ echo WARNING: no sphinx environment in tox.ini
+ fi
+ '''
+ }
+ } // sphinx doc
+ } // parallel
} // stages
post {

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 3, 2:57 PM (5 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3231412

Event Timeline