I found checkoutToSubdirectory in the Jenkins pipeline docs and in the build console I am seeing output saying Running in /home/ec2-user/workspace/projectDir/subDir but then when the first
stage('install/fetch dependencies') {
steps {
block it gets run in the normal workspace projectDir, not subDir. What else do I need to add to ensure my stages are run in the subDir?