-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: Archive sharness trash dirs #5071
Conversation
ci/Jenkinsfile
Outdated
|
||
try { | ||
// archive trash directories if any | ||
def trashdirs = run(returnStdout: true, script: "find test/sharness -name 'trash\\ *' | grep .") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this not all be reduced to?
sh "tar -czf sharnessTrashDirs-${osname}.tar.gz trash*/"
(I'm not familiar with Jenkins)
6416075
to
f7fa6cf
Compare
@magik6k this appears to be causing problems on macos (failing in a way that's making the tests fail even though we ignore the results from macos). |
@magik6k @victorbjelkholm are the mac failures related to this change? or are they independently being super dumb? |
Apparently, not related. |
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
f7fa6cf
to
39b76d5
Compare
rebased |
Seems useful to me. |
With this CI will archive any leftover sharness trash directories, this should help debugging failing sharness tests.
Example: https://ci.ipfs.team/blue/organizations/jenkins/IPFS%2Fgo-ipfs/detail/feat%2Fci%2Farchive-trash-dirs/46/artifacts