Poll git removes build artifacts/clean repository on node workspace

Hello,

we have a problem that polling git clean the repository in workspace on the node.

Steps:

  1. clone git repository and build

  2. build artifacts are in workspace on the node

  3. press poll smc button → build artifacts are removed from workspace on the node and the clean repository is still available.

Could you please help me how to get a rid of this behavior?

Thank you.

Vladimir

[Jenkins 2.375.2]