Our Jenkins setup is on Azure Kubernetes. We have recently upgraded Jenkins to 2.332.1 version. Since upgrade we are not able to run any deployments. Pipeline is able to checkout the repository from Github and when we run git commands in later stage of pipeline we are getting below error
Not a Git Repository
If we try to run any other git command it gives error dubious operation.
Have anyone faced this issue? Any suggestion how to fix this issue will be really helpful