Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61856

Add the ability to "Delete workspace before build starts" in a declarative pipeline

    XMLWordPrintable

Details

    Description

      It is possible to find the declarative pipeline syntax for cleanWs in the pipeline-syntax snippet generator inside a Jenkins instance. I have however not found any instructions on how to use preBuildCleanup in a declarative pipeline. I don't even know if it is possible.

      Attachments

        Issue Links

          Activity

            dennisl Dennis Lundberg added a comment - Pull request available at https://github.com/jenkinsci/ws-cleanup-plugin/pull/49
            basil Basil Crow added a comment - Closing per dennisl 's request in jenkinsci/ws-cleanup-plugin#49 (comment) .

            People

              Unassigned Unassigned
              dennisl Dennis Lundberg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: