The information below does work as long as the location can see the child
directory that needs to be cleaned up.
On Wednesday, February 25, 2015 at 12:15:40 PM UTC-5, Katie Outram wrote:
> So what I have done so far is
>
> cleanup=bParent.build.properties.environment('GIT_TREE')
> printl
So what I have done so far is
cleanup=bParent.build.properties.environment('GIT_TREE')
println "find ${cleanup} -maxdepth 1 -not -name images -type f -exec rm
-f {} +".execute().text
However, the
println "find ${cleanup} -maxdepth 1 -not -name images -type f -exec rm
-f {} +".execute()
thus
Sent: February-25-15 01:04
To: jenkinsci-users@googlegroups.com
Subject: Re: Clean up after build using build flow plugin
Either try to use the workspace cleanup plugin and/or some groovy step to do
that and retrieve that variable?
My 2 cents
Le 24 févr. 2015 15:43, "Katie Outram"
ma
Either try to use the workspace cleanup plugin and/or some groovy step to
do that and retrieve that variable?
My 2 cents
Le 24 févr. 2015 15:43, "Katie Outram" a écrit :
> After the build completes, I need to clean up the workspace that was
> created during execution of the build. The workspace