I’m using Jenkins with bitbucket. I want a build to be triggered every time I commit anything to bitbucket repo.
In Jenkins
I’ve created a job called dusted
Iin configure section Build Triggers part I ticked Trigger builds remotely
I added a token TEST_TOKEN
http://test.com:8080/job/test_1//build?token=TEST_TOKEN
Build is triggered
In bitbucket
I’ve added a jenkins hook
Endpoint : http://test.com:8080/job/dusted//build?token=TEST_TOKEN
Module name - empty
Project name - test_1
Token – empty
I’m committing the code built the build is not getting triggered.
Can someone explain what my mistake is?