Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344957
D5647.id20160.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
D5647.id20160.diff
View Options
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
Details
Attached
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
Attached To
D5647: Run tests and sphinx in parallel.
Event Timeline
Log In to Comment