GoogleCloudPlatform/continuous-deployment-on-kubernetes

{env.BRANCH_NAME} is null

meteorlad opened this issue · 2 comments

def  imageTag = "gcr.io/${project}/${appName}:${env.BRANCH_NAME}.${env.BUILD_NUMBER}"

The ${env.BRANCH_NAME} is NULL?

I was not able to reproduce. Can you check that you created the Jenkins job as a multibranch pipeline?

Ok, thank you. This problem has been solved