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

add a cross platform step that will delete all files in the current directory.

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • pipeline
    • None

      As a user I want to be able to have a clean workspace (or subset of a workspace).

      I do not want to fall back to writing scripts with `if (unix) else windows {}` which could also be problematic as the control file lives in these directories and there would also be no way to delete the current directory

          [JENKINS-30346] add a cross platform step that will delete all files in the current directory.

          James Nord created issue -
          James Nord made changes -
          Remote Link New: This issue links to "PR 204 (Web Link)" [ 13143 ]
          Jesse Glick made changes -
          Link New: This issue is related to JENKINS-26138 [ JENKINS-26138 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Jesse Glick made changes -
          Link New: This issue depends on JENKINS-26138 [ JENKINS-26138 ]
          Craig Rodrigues made changes -
          Link New: This issue is related to JENKINS-28382 [ JENKINS-28382 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 165448 ] New: JNJira + In-Review [ 197720 ]
          Andrew Bayer made changes -
          Component/s New: pipeline-general [ 21692 ]
          Andrew Bayer made changes -
          Component/s Original: workflow-plugin [ 18820 ]
          James Nord made changes -
          Assignee Original: James Nord [ teilo ]

            Unassigned Unassigned
            teilo James Nord
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: