Skip to content

Commit

Permalink
Add retry for ci_minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
Florin-Gabriel Blanaru authored and gigiblender committed Aug 8, 2022
1 parent db5d34d commit a8f5af1
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 8 deletions.
54 changes: 47 additions & 7 deletions Jenkinsfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion ci/jenkins/macros.j2
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def {{ method_name }}() {
{% endmacro %}

{% macro test_step_body(name, node, ws, docker_image, platform) %}
{% set test_dir_name = name.replace(":", "").replace(" ", "-").replace("-", "_")|string %}
if (!skip_ci && is_docs_only_build != 1) {
node('{{ node }}') {
ws({{ per_exec_ws(ws) }}) {
Expand All @@ -96,7 +97,7 @@ def {{ method_name }}() {
{{ caller() | indent(width=8) | trim }}
})
} finally {
{{ junit_to_s3() | indent(width=0) }}
{{ junit_to_s3(test_dir_name) | indent(width=0) }}
junit 'build/pytest-results/*.xml'
}
}
Expand Down

0 comments on commit a8f5af1

Please sign in to comment.