commit | f2d8bf3632c7f44d79188231725aa838cc1b985e | [log] [tgz] |
---|---|---|
author | Joey Armstrong <joey@opennetworking.org> | Sun Feb 11 18:01:41 2024 +0000 |
committer | Gerrit Code Review <gerrit@opencord.org> | Sun Feb 11 18:01:41 2024 +0000 |
tree | cf56962a22db3091880aaad4e9eb92059b5d6cec | |
parent | f1aaa04fafc7849fdb021ddcccc2b99532cd9519 [diff] | |
parent | c26dd386db1773bd6d7c0f19ec57e4f7168ad948 [diff] |
Merge "Filter cache and temp entries from .kube filesystem listing"
diff --git a/vars/dotkube.groovy b/vars/dotkube.groovy index c3ec591..97b82c2 100644 --- a/vars/dotkube.groovy +++ b/vars/dotkube.groovy
@@ -62,7 +62,9 @@ stage('.kube/ debugging') { sh("""/bin/ls -ld ~/.kube """) - sh("""find ~/.kube -print0 | xargs -0 /bin/ls -ld""") + sh("""find ~/.kube -print0 \ + | grep --null --null-data -e 'cache -e 'temp' \ + | xargs -0 /bin/ls -ld""") // if (config['do-something']) {} } }