แสดงกระทู้

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - EURODrist

หน้า: [1]
1
Around Suannan / Chicago : microsoft continuous integration - Eduard Kabrinskiy
« เมื่อ: พฤษภาคม 23, 2021, 04:48:46 pm »
Kabrinskiy Eduard - Azure devops webhooks  - Kabrinskiy Eduard


<h1>Azure devops webhooks</h1>
<p>[youtube]</p>
Azure devops webhooks <a href="http://remmont.com">Top news today</a> Azure devops webhooks
<h1>How to create a webhook between Bitbucket and Azure DevOps?</h1>
<p>We have all our repositories in Bitbucket and I'm trying to set up a continuous intergration services to Azure DevOps that would build the project after each push.</p>
<p>We have created a dedicated user account for Bitbucket repositories that has real-only access to all repositories.</p>
<p>However, creating a CI webhook trigger from Bitbucket to Azure Devops requires admin access to repositories. We do not want to give that level of access to CI user account.</p>
<p>I could add the webhook to Bitbucket repository manually, but I'm <strong>missing the URL</strong> to which the webhook should post the trigger.</p>
<p>I think it's called <strong>deployment trigger url</strong> but I cannot find it anywhere. Does the new Azure DevOps support manually adding webhooks or do we have to do it manually somehow?</p>
<h2>1 Answer 1</h2>
<p>I'm in the same boat with you all. I don't want to give my CI account "Admin" rights to ANY repo.</p>
<p>My workaround so far has been to give the CI account temporary access in order to create the webhook when the pipeline is first saved, then downgrade it after the webhook has been created, knowing that any changes will require another temporary permission elevation.</p>
<p>FWIW, the webhook URL that is used is this: https://[REDACTED].visualstudio.com/_apis/public/hooks/externalEvents?publisherId=bitbucket&channelId=[REDACTED]&api-version=5.1-preview</p>
<p>As you can see, we are kind of in an understandable Catch-22 here, because we could conceivably create the pipeline and get that channelId to use to manually create the webhook in Bitbucket, but can't even SAVE a pipeline without repo Admin rights, so we can't get the channelId .</p>
<p>I wish there was a way to disable the webhook creation so we could manually create it on the Bitbucket side.</p>
<h2>Azure devops webhooks</h2>

<h3>Azure devops webhooks</h3>
<p>[youtube]</p>
Azure devops webhooks <a href="http://remmont.com">Latest hot news</a> Azure devops webhooks
<h4>Azure devops webhooks</h4>
How to create a webhook between Bitbucket and Azure DevOps? We have all our repositories in Bitbucket and I'm trying to set up a continuous intergration services to Azure DevOps that would build
<h5>Azure devops webhooks</h5>
Azure devops webhooks <a href="http://remmont.com">Azure devops webhooks</a> Azure devops webhooks
SOURCE: <h6>Azure devops webhooks</h6> <a href="https://dev-ops.engineer/">Azure devops webhooks</a> Azure devops webhooks
#tags#[replace: -,-Azure devops webhooks] Azure devops webhooks#tags#

Eduard Kabrinskiy
world news

หน้า: [1]