1. Нам важно Ваше мнение!
    и обсуждайте вместе! Нажимайте "мне нравится" и рекомендуйте друзьям ;)
    Понравилось тема? Напишите в ней свой отзыв.
    Считаете что тема не достаточно полно раскрыта? Расскажите свою точку зрения!
    С Вашей помощью сделаем форум еще лучше!

Concord : azure devops aws - Кабринский Эдуард

Тема в разделе 'Горячие новости для тех кто следит за собой', создана пользователем IZRAELEn, 19 май 2021.

  1. IZRAELEn

    IZRAELEn Member

    Kabrinskiy Eduard - Devops pull request - Kabrinskiy Eduard


    <h1>Devops pull request</h1>
    <p>[youtube]</p>
    Devops pull request <a href="http://remmont.com">America news today</a> Devops pull request
    <h1>Use pull request decoration in Azure DevOps with SonarCloud</h1>
    <p>Some time ago I wrote about how to fail your Azure Pipeline, if your SonarQube quality gate fails. I often get the request how you can do the same thing with SonarCloud. But it?s much better to use <strong>pull request decoration.</strong> This is really an awesome feature. You get the SonarQube Errors directly in the pull request and the quality gate is evaluated.<br /></p>
    <p style="clear: both"><img src="https://mkaufmannblog.files.wordpress.com/2019/04/1_feature.png" /> </p>
    <p>The configuration is a bit tricky and the options are pretty hard to find. And this only works in SonarCloud or with the SonarQube Developer Edition! I switched completely to SonarCloud ? this is much more convenient.</p>
    <p>I asume that you already have a build with the prepare, run and publish tasks configured. Note that there is a different extension for SonarCloud then for SonarQube. Add and configure the tasks accordingly and run the build with the analysis.</p>
    <p style="clear: both"><img src="https://mkaufmannblog.files.wordpress.com/2019/04/azure-pipeline-with-sonarcloud-analysis.png" /> </p>
    <p>Now got to the project in SonarCloud. Go to ?Generell Settings?, ?Pull Requests?. Select VSTS and enter a Personal Access Token for Azure DevOps that SonarCloud uses to connect to Azure DevOps.</p>
    <p style="clear: both"><img src="https://mkaufmannblog.files.wordpress.com/2019/04/general-settings.png" /> <img src="https://mkaufmannblog.files.wordpress.com/2019/04/enter-personal-access-token.png" /> </p>
    <p>Now run the build again. If the analysis is complete got the the branch policy in your Azure Repo. If you now add a new Status Policy you will find in the drop down a policy called ?SonarCloud/quality gate?. Select it and save the policy.</p>
    <p style="clear: both"><img src="https://mkaufmannblog.files.wordpress.com/2019/04/branch-policies.png" /> <img src="https://mkaufmannblog.files.wordpress.com/2019/04/status-policy.png" /> </p>
    <p>That?s it! Now create a pull request and enjoy the SonarCloud decoration. The Status Policy will fail the PR if the SonarCloud Quality Gate fails.</p>
    <h2>Devops pull request</h2>

    <h3>Devops pull request</h3>
    <p>[youtube]</p>
    Devops pull request <a href="http://remmont.com">News updates</a> Devops pull request
    <h4>Devops pull request</h4>
    How to use SonarCloud pull request analysis, pull request decoration and quality gates in Azure DevOps.
    <h5>Devops pull request</h5>
    Devops pull request <a href="http://remmont.com">Devops pull request</a> Devops pull request
    SOURCE: <h6>Devops pull request</h6> <a href="https://dev-ops.engineer/">Devops pull request</a> Devops pull request
    #tags#[replace: -,-Devops pull request] Devops pull request#tags#

    Eduard Kabrinskiy
    news headlines

Поделиться этой страницей