Reputation: 995
I am trying to generate package in Jenkins with poll SCM (* * * * *) mechanism. If I keep my repository public, and if I commit any changes from visual studio to bitbucket, It is creating packages in Jenkins (Still I need to click on Build Now option in Jenkins).
If I make my repository private, and if I commit any changes from visual studio to bitbucket, It's giving me timeout error in build console and url not able to access in configuration.
Private repository (Not working),
What changes I need to make in configuration to make it work.
Upvotes: 0
Views: 149
Reputation: 8682
The problem is you git url. Since you are passing the credentials in the url itself you have to URL encode the username and the password.
But since you are configuring the credentials in the credentials section you can remove the username and password from the url Jenkins's git client will take care of passing the credentials.
Upvotes: 0