code: public function clean($projectPath, $keep = 1, $force = false)
      {
          $builds = $this->getJobsToRemove($projectPath, $keep);
  
          $this->cleanDirectories($builds);
          $this->cleanContainers($builds);
          $this->cleanImages($builds, $force);
      }
docs: Clean containers, images and directory from a project
  
  @param string  $projectPath Location of the project
  @param int     $keep        How many versions does we need to keep (1 is the default in order to have cache for each test)
  @param boolean $force       Force removal for images