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

    • Similar Issues:

      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

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: