I am using jenkins for CI stuff. I have bitbucket server installed and want to checkout the git URL (http/https) using jenkins job. I have installed Git client plugin and git plugin jenkins, versions are as follow,
Git client plugin =2.4.6
Git plugin = 3.3.2
When I provide the URL in job I get following error,

Same error when I error when I run the job.
> F:\app\Git\bin\git.exe fetch --tags --progress https://localhost:9090/scm/stcplay/mavensample.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error cloning remote repo 'origin'
hudson.plugins.git.GitException: Command "F:\app\Git\bin\git.exe fetch --tags --progress https://localhost:9090/scm/stcplay/mavensample.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: fatal: unable to access 'https://localhost:9090/scm/stcplay/mavensample.git/': The requested URL returned error: 403
Amazingly, when I do git clone invoking windows command prompt in jenkins it works perfectly.
Anyone faced the same issue earlier ?