Closed johan-bjareholt closed 8 years ago
I realized that i had a old credentials version (1.18, 1.22 is the requirements) and upgraded to 2.04 and restarted jenkins but that didn't solve it.
Apparently changing from http:// to https:// fixed it, but i have no idea why
After some further investigating i realized that if you try to use the JSON api with normal http on our server you are redirected to the index.html page with https.
Pretty wierd behaviour.
Apache front end doing redirecting?
Sent from my iPhone
On Jun 30, 2016, at 6:06 AM, Johan Bjäreholt notifications@github.com wrote:
After some further investigating i realized that if you try to use the JSON api with normal http on our server you are redirected to the index.html page with https.
Pretty wierd behaviour.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I actually havet no idea, I'm not the one in charge of the bitbucket server.
After some further investigating i realized that if you try to use the JSON api with normal http on our server you are redirected to the index.html page with https.
Pretty wierd behaviour.
Want to give you a quick shout out because I was having issues setting this up, and this helped me fix my mistake: Thanks!
I configured up a jenkins job to poll pullrequest on a internal bitbucket server every 3rd minute. I have not done much more than that, i am logging in with a plaintext password.
Jenkins version: 1.653 Plugin version: 1.6.0
I don't know what more to say, the setup is pretty simple so I'm pretty clueless why it doesn't work.