Hi @BSBoatia ,
It is indeed expected that both the CIRCLE_BRANCH
built-in environment variable and pipeline.git.branch
pipeline value will be empty when your build is triggered by a tag-push.
You could also use the method described in this post: Dynamically set the value of a job parameter.