Issue Type: Bug Bug
Affects Versions: current
Assignee: Gregory Boissinot
Components: artifactdeployer
Created: 06/Sep/12 9:11 AM
Description:

I have the following setup:

1) deploy *.elf, *.map, *.gz to folder X:\foo\bar\Build_${SVN_REVISION_1}_${BUILD_NUMBER}\foo\bar

2) deploy some other *.elf, *.map, *.gz to folder X:\foo\bar\Build_${SVN_REVISION_1}_${BUILD_NUMBER}\baz\bar

3) deploy some other *.elf, *.map, *.gz to folder X:\foo\bar\Build_${SVN_REVISION_1}_${BUILD_NUMBER}\baz\quux

4) deploy .txt file to folder X:\foo\bar\Build_${SVN_REVISION_1}_${BUILD_NUMBER}

all of them have "delete artifacts" marked.

When the builds get deleted by jenkins (I only keep 15), the folder structure still exists, filling my artifacts deployment folder with junk.

My colleague uses a plain folder structure (X:\bar\baz\Build_${BUILD_NUMBER}${custom_var}) and his artifacts get deleted as well as the directories.
His project is running on the same jenkins instance as mine, so the problem seems to be the recursive deletion.

This was the reason, why I wanted the groovy script to work, so I could use that to finally delete the folders...

Environment: V0.21 of artifactdeployer plugin
Project: Jenkins
Priority: Major Major
Reporter: Fabian Koch
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to