Workspace Cleanup Plugin

16 views
Skip to first unread message

Виталий Пучков

unread,
Nov 28, 2016, 9:16:56 AM11/28/16
to Jenkins Users
Hi, i'm try to add exclusion rule for Workspace Cleanup Plugin 0.28 version.

I want to exclude "jdbc.test.properties" from deleting.
But it doesn't work.
Everything is being deleted, rule isn't applied.
I'v tried:

1) jdbc.test.properties
2) /jdbc.test.properties
3) ./jdbc.test.properties
4) somedir/jdbc.test.properties
5) /somedir/jdbc.test.properties
6) ./somedir/jdbc.test.properties
7) ${WORKSPACE}/jdbc.test.properties
8) ${WORKSPACE}/somedir/jdbc.test.properties

somedir because my first build step is "mv ${WORKSPACE}/somedir/* ${WORKSPACE}"

I've simulated deleting with exclusion via ant target on my pc, and it DO work.

Any ideas?

Victor Martinez

unread,
Nov 29, 2016, 5:00:18 PM11/29/16
to Jenkins Users
Hi,
It seems there is already a known issue with that version:

What about '**/jdbc.test.properties'? 
Have you tried to use the latest version of that plugin?

Cheers
Reply all
Reply to author
Forward
0 new messages