-
-
Notifications
You must be signed in to change notification settings - Fork 74
Plugin in not Triggering on a specific event Bitbucket 4.7.1 #133
Comments
I added an issues section to the README.md, you may check that to see if it helps. If you get a null-response like that, then the admin page of the plugin should also fail to work. Does it? |
@tomasbjerre No , on admin page I am able to see the page where I can setup triggers. |
Did you solve it? Or why did you close the issue? |
@tomasbjerre I have tried to follow curl -u admin:admin 'http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings' -H 'Accept: application/json, text/javascript, */*; q=0.01' Output
curl -u admin:admin 'http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings/notifications' -H 'Accept: application/json, text/javascript, */*; q=0.01'. Output :- I am getting some HTML. Command :- curl -u admin:admin 'http://localhost:7990/bitbucket/rest/prnfb-admin/1.0/settings/buttons' -H 'Accept: application/json, text/javascript, */*; q=0.01'. Output :- {"message":"null for uri: http://192.168.124.91:7990/rest/api/1.0/bitbucket/rest/prnfb-admin/1.0/settings/buttons","status-code":404}% I closed it by mistake sorry, |
@tomasbjerre I believe I can send it to your Jenkins server only if I get output of above commands expected correct ? I have also tried to re-install the plugin but no luck. |
Strange... if you use Chrome developer tools you should see the same GET How do you know that no URL is invoked? Den 19 juli 2016 07:23 skrev "Mihir Soni" [email protected]:
|
@tomasbjerre I know no url is triggered because the Job on jenkins is not triggering. I also copied that GET request and try to hit from the POSTMAN , but no output. What do you expect from the above curls. Are they valid response ? |
You can try to point it to my webserver. Den 19 juli 2016 07:26 skrev "Mihir Soni" [email protected]:
|
So it may be a Jenkins problem and not a plugin problem. I expect to see the configuration. A json structure with your configured Den 19 juli 2016 07:30 skrev "Mihir Soni" [email protected]:
|
@tomasbjerre I agree, but I am not getting that response correctly right , nevertheless I triggered your Jenkins , let me know if you have got any request or not. http://cogi.bjurr.se/?FROM=${PULL_REQUEST_FROM_HASH}&TO=${PULL_REQUEST_TO_HASH}&TOSLUG=${PULL_REQUEST_TO_REPO_SLUG}&TOREPO=${PULL_REQUEST_TO_HTTP_CLONE_URL}&FROMREPO=${PULL_REQUEST_FROM_HTTP_CLONE_URL}&ID=${PULL_REQUEST_ID}&PROJECT=${PULL_REQUEST_TO_REPO_PROJECT_KEY} |
I got this:
|
@tomasbjerre Hmm okay but when I hit with my Jenkins URL directly from the browsers it works. I will double check this and revert back. |
So it could be a firewall issue or something? |
@tomasbjerre They are on same IP range , I am not sure what could be issue , I am worried about curl calls output , are they wiered as we are getting 404 ? |
Yes very strange. Dont know what that means... You try to ssh to the bitbucket machine and do a curl call to tje jenkins I think it should also be a stacktrace in the bitbucket logs. Den 19 juli 2016 07:49 skrev "Mihir Soni" [email protected]:
|
@tomasbjerre Sure, I will try that and update you, thank you for your support , I will update the issue. |
@tomasbjerre I guess the Jenkins issue has resolved it , thanks a lot for your support. Appreciate your help. |
Hi @tomasbjerre ,
After successfully installing this plugin , I have configured it on Pull Request Open event to trigger a GET url with parameters. But it never triggers any thing when you open new Pull Request.
I have executed following command to check the plugin status as mentioned here
Out put is
The text was updated successfully, but these errors were encountered: