Skip to content

Commit

Permalink
Delete ve and vendor folders to avoid 10000
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed Oct 2, 2020
1 parent 27fad54 commit 301f037
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,10 @@ def archiveTestOutput(Map args = [:]) {
cmd(label: 'Prepare test output', script: 'python .ci/scripts/pre_archive_test.py')
dir('build') {
if (isUnix()) {
cmd(label: "Debug build folder ${args.id}", script: 'ls -ltrah && find . -name build -ls')
cmd(label: "Debug build folder ${args.id}", script: "echo ${args.id}; ls -ltrah && find . -name build -ls")
cmd(label: 'Delete folders that are causing no matches found within 10000',
returnStatus: true,
script: 'rm -rf ve || true; find . -type d -name vendor -delete')
} else { log(level: 'INFO', text: "DEBUG build is disabled for non-unix") }
junitAndStore(allowEmptyResults: true, keepLongStdio: true, testResults: args.testResults, stashedTestReports: stashedTestReports, id: args.id)
archiveArtifacts(allowEmptyArchive: true, artifacts: args.artifacts)
Expand Down

0 comments on commit 301f037

Please sign in to comment.