Hi All,
I am trying to exclude specific directory while cleaning up the workspace.
Code:
stage(‘’) {
cleanWs notFailbuild: true,
exclude: ‘. npn/**’
}
Error: exclude is not supported
if I want to go to specific directory in jenkinsfile, how can we write
groovy script
--
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/CAKRLcHjDsAGjgZCXoZ9OUFA%3D3vs59%3DX4Rin-xis%3D3S5XKEYzpA%40mail.gmail.com.