• Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • hudson-wsclean-plugin
    • None

      This plugin looks great from the description. Please add it as declarative option to the pipeline.
      Something like:

      pipeline {
        options {
          cleanWorkspaces(runBefore: true)
        }
        ...
      }
      

      Or directly call it in any post section as normal step.

          [JENKINS-59226] Add support for declarative pipeline

          Michael Düsterhus created issue -
          Michael Düsterhus made changes -
          Description Original: This plugin looks great from the description. Please add it as declarative option to the pipeline. New: This plugin looks great from the description. Please add it as declarative option to the pipeline.
          Something like:

          {code:java}
          pipeline {
            options {
              cleanWorkspaces(runBefore: true)
            }
            ...
          }
          {code}

          Or directly call it in any post section as normal step.
          pjdarton made changes -
          Assignee Original: tspengler [ tspengler ]

            Unassigned Unassigned
            reitzmichnicht Michael Düsterhus
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: