"Archive the artifacts" Jenkins post build action is running for 5 minutes:
21:58:26 WARN: No artifacts found that match the file pattern "direct/path/to/non-existing.artifact". Configuration error?
22:03:55 WARN: ?direct/path/to/non-existing.artifact? doesn?t match anything: ?direct? exists but not ?direct/path/to/non-existing.artifact?
This is not a configuration error and I just want to skip the artifact archiving if there is no artifact produced. Is there a way to do this? Is there some known explanation of this phenomenon? I'd assume that Jenkins tries to search the workspace for something similar to pattern and since the workspace is large, depending on the algorithm it is theoretically possible for search to take 5 minutes.
find . | wc -lin workspace? How do you run Jenkins? Probably you are giving it too low memory? - Stan E