The checkoutToSubdirectory option allows specifying a subdirectory of the workspace. If specified, that subdirectory will be created, if it does not exist, and the checkout scm will be performed in that subdirectory.