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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.