-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working Webhook is now returning "Did not find any jobs to trigger" #78
Comments
This message means that no jobs were found. You need to authenticate with username/password or configure a token. See the Troubleshooting section in the readme. |
Hi Tomas, Thanks very much for your quick response. When I downgrade the plugin to 1.43 and resend the post from bitbucket the pipeline is triggered. The response I get with 1.43 is: {
"status": "ok",
"data": {
"triggerResults": {
"MY_REPO develop": {
"id": 159,
"regexpFilterExpression": "^.*(repositories/MY_COMPANY/MY_REPO/refs/branches/develop).*$",
"regexpFilterText": "https://api.bitbucket.org/2.0/repositories/MY_COMPANY/MY_REPO/refs/branches/develop",
"resolvedVariables": {
"branch": "https://api.bitbucket.org/2.0/repositories/MY_COMPANY/MY_REPO/refs/branches/develop"
},
"triggered": true,
"url": "queue/item/159/"
}
}
}
} I didn't configure the webhook with a token, but I can do it if is needed. Thanks very much again for your help. |
Yes. This was the change in that version.
Den tis 11 sep. 2018 21:40Leandro Cofre <notifications@github.com> skrev:
… Hi Tomas,
Thanks very much for your quick response.
When I downgrade the plugin to 1.43 and resend the post from bitbucket the
pipeline is triggered. The response I get with 1.43 is:
{
"status": "ok",
"data": {
"triggerResults": {
"MY_REPO develop": {
"id": 159,
"regexpFilterExpression": "^.*(repositories/MY_COMPANY/MY_REPO/refs/branches/develop).*$",
"regexpFilterText": "https://api.bitbucket.org/2.0/repositories/MY_COMPANY/MY_REPO/refs/branches/develop",
"resolvedVariables": {
"branch": "https://api.bitbucket.org/2.0/repositories/MY_COMPANY/MY_REPO/refs/branches/develop"
},
"triggered": true,
"url": "queue/item/159/"
}
}
}
}
I didn't configure the webhook with a token, but I can do it if is needed.
Thanks very much again for your help.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#78 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAa1E6fmjUqUbo6uZVq2rFFOVhohgAx-ks5uaBGPgaJpZM4Wj1DE>
.
|
Great! I added a token and now it's working. Under the token field still says "Optional token". Should now say that is required if there is no "security enabled"? Thanks very much for your help. |
I changed the response from the plugin. It should be clearer that one needs to use a token or provide credentials. For the record, the change was made because of: #77 |
That's grand! Is good to know the reasons for the change, thanks for all your work and for your quick response. |
I had a successful pipeline where the Bitbucket webhook is now returning
I updated this plugin along with others in Jenkins.
The pipeline is triggered only by this plugin in the Build Triggers section. I configured it to only trigger when there's a push to the develop branch:
Bitbucket webhook sends this body in the request (I only kept the href property as the body has many other properties. I also changed the company and repo names):
Thank you very much in advance for your help.
Environment info
The text was updated successfully, but these errors were encountered: