I found the resolution, it was due to wrong configuration in Jenkins .In Jenkins, i have configured Branch source plugin and Server integration plugin. In Jenkins pipeline ,under source we have to choose Bitbucket server for Bitbucket server integration plugin .But I have chosen Bitbucket in source.
It looks like you're new here. Sign in or register to get started.