deleteDir() doesn't  take arguments, so you would have to do:

*deleteDir()*

inside the directory that you want to delete.  See:

https://github.com/jenkinsci/workflow-plugin/blob/master/basic-steps/src/main/resources/org/jenkinsci/plugins/workflow/steps/DeleteDirStep/help.html
https://github.com/jenkinsci/workflow-plugin/blob/master/aggregator/src/test/java/org/jenkinsci/plugins/workflow/steps/DeleteDirStepTest.java

--
Craig

On Monday, February 1, 2016, niristotle okram <[email protected]>
wrote:

>
> i see an option "deleteDir()", can i use something like this (at the end
> of my workflow)?
>
>
> *deleteDir("/opt/mount1/jenkins/jobs/GoogleFlow/workspace/${env.BUILD_NUMBER}")*
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAG%3DrPVewZSfzsxDgZbao5oLZ3xNbP5caBZzURm65tXyXHK-H6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to