Skip to content

Conversation

@driazati
Copy link
Member

@driazati driazati commented Feb 1, 2022

Currently we only collect reports when the junit function runs in the Jenkinsfile, which only happens if the earlier test scripts didn't fail. We should always try to collect whatever reports are there, so this wraps everything in try..finally which is apparently the only way to do this in a scripted pipeline (another point where moving to a declarative pipeline would simplify things). A bunch of the JUnits are also colliding and getting overwritten before Jenkins ingests them, so this fixes that as well.

Note for reviewing: first commit is all whitespace, see this commit for significant changes

cc @areusch @Mousius

@driazati driazati marked this pull request as ready for review February 8, 2022 21:34
@driazati driazati requested a review from a team as a code owner February 8, 2022 21:34
@github-actions github-actions bot requested review from areusch and removed request for a team February 8, 2022 21:34
@github-actions
Copy link
Contributor

github-actions bot commented Feb 8, 2022

It has been a while since this PR was updated, @areusch please leave a review or address the outstanding comments

@Mousius Mousius self-assigned this Feb 15, 2022
@Mousius
Copy link
Member

Mousius commented Feb 15, 2022

Branch check is away!

@areusch areusch merged commit 646d155 into apache:main Feb 16, 2022
@areusch
Copy link
Contributor

areusch commented Feb 16, 2022

thanks @driazati !

pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
* Fix spacing

* Add try..finally everywhere

* trigger ci

* Fix pytest invocations

* Remove junit collection where no files exist

Co-authored-by: driazati <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants