[workflow-plugin] archive hidden files and folders

22 views
Skip to first unread message

Christoph Vogtländer

unread,
Feb 12, 2015, 9:25:56 AM2/12/15
to Jenkinsci Users
Hi,

is it possible to archive hidden folders (.svn in my case) using the
"archive" (or similar) step?

The ArtifactArchiver (which I believe the archive step is based on) has
a method "boolean defaultExcludes()" but the interface is not available
in the archive step.

I also tried
step([$class: 'ArtifactArchiver', artifacts: 'src/', excludes: '',
defaultExcludes: false])

and even

def aa = new hudson.tasks.ArtifactArchiver('src/')
aa.setDefaultExcludes(false)
step aa

without success.

Thanks
Christoph



Reply all
Reply to author
Forward
0 new messages