zakyn schrieb am Dienstag, 17. Januar 2023 um 10:13:21 UTC+1:
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?


First:
You should always consider workspaces ephemeral (they can get 
cleaned/removed by jenkins at anytime(if not in use).
If you want to keep artifacts then use an archive artifacts step or push 
them to some other repo (by scp, upload, whatever...) as appropriate.

If you want more help, please specify exactly how your job is configured.
 
Thank you.

Vladimir 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/5bb24922-02c7-462c-9725-3411e47f966fn%40googlegroups.com.

Reply via email to