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

Pipelines created in Blue Ocean should default to clean workspace


    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • Blue Ocean 1.4 - beta 3

      The pipelines created in blue ocean should default to logical settings for blue ocean and pipeline users. 


      The target audience is people using Jenkins for CI/CD.  They may not know that they need to clean their workspaces between pipeline runs - they could reasonably expect that jenkins checkout will also clean the workspace.   They may then get unexpected behavior due to workspaces not being clean before use or will have to include pipeline code to clean their workspace at the start of each pipeline run.  


      Instead Blue Ocean should add the "Clean Before Checkout" and "Clean After Checkout" options to multi-branch pipelines created in Blue Ocean (both are needed for truly good behavior).  Also, the "clean" operation is git is not expensive especially when it is a no-op. 




            jamesdumay James Dumay
            bitwiseman Liam Newman
            0 Vote for this issue
            2 Start watching this issue