[JENKINS-22301] Support --folder and --view