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

            dennisl Dennis Lundberg created issue -
            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
            dennisl Dennis Lundberg made changes -
            Field Original Value New Value
            Link This issue relates to JENKINS-63266 [ JENKINS-63266 ]
            basil Basil Crow made changes -
            Remote Link This issue links to "jenkinsci/ws-cleanup-plugin#49 (Web Link)" [ 26365 ]
            basil Basil Crow made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            basil Basil Crow made changes -
            Status In Progress [ 3 ] In Review [ 10005 ]
            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) .
            basil Basil Crow made changes -
            Assignee Oliver Gond┼ża [ olivergondza ]
            Resolution Won't Fix [ 2 ]
            Status In Review [ 10005 ] Closed [ 6 ]

              People

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

                Dates

                Created:
                Updated:
                Resolved: