-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
jenkins version : 2.7
I'm currently using a "pipelineJob - dsl factory" to create my pipeline by following this jenkinsci git hub page : https://jenkinsci.github.io/job-dsl-plugin/#method/javaposse.jobdsl.dsl.DslFactory.pipelineJob
but I don't see any option here to delete the workspace (i.e wsCleanup) after the build has been finished.
here is my pipeline configuration using DSL script :
// code placeholder pipelineJob.with { definition { cpsScm { lightweight(true) scm { git { remote { url(repositoryUrl) } branch(buildBranch.path) } } scriptPath(jenkinsFile) } logRotator { numToKeep(10) daysToKeep(10) } } }