官术网_书友最值得收藏!

  • Learning Microsoft Azure
  • Geoff Webber Cross
  • 297字
  • 2021-08-05 17:45:37

Setting up alerts

It can be useful to set up alerts in Visual Studio Online especially if you are working in a team. The following alert types are available:

  • Work Item Alerts: These are triggered when any work item related to you changes
  • Checkin Alerts: These occur when various checks on criteria are met
  • Build Alerts: These are triggered under various build events
  • Code review Alerts: These occur when a code review you are working on or a code review in the project changes

Setting up alerts allows us to view and edit our alert settings:

  1. In the Visual Studio Online portal, go to the dashboard for your project and click on the settings button in the top-right corner of the screen:
  2. In the admin window that opens, click on the Alerts tab and notice that there are some quick links down on the left-hand side under the CREATE NEW ALERT WHEN title, which we will use to quickly create some alerts:
  3. We want to know when a build fails, so click on the A build fails link, have a quick look at the alert rules, change the Send to field if required (if you do change it, you will be sent an e-mail to verify the change), and accept it:
  4. Do the same for the My build completes link.
  5. We'll now see our new alerts listed (and one demo alert automatically created for us); click on the Save all modified alerts button:
  6. Now, manually trigger a build from Visual Studio by right-clicking on the build definition and selecting Queue New Build.
  7. Once the build has completed, we should receive an e-mail alert. If it happened to fail, which it certainly shouldn't at this stage, we would get an e-mail alert that tells us it had failed.
主站蜘蛛池模板: 称多县| 巫溪县| 深泽县| 霍山县| 图片| 桃江县| 雅安市| 司法| 治县。| 司法| 视频| 建瓯市| 海南省| 嘉祥县| 河西区| 济宁市| 邵阳市| 泰和县| 尚义县| 辽宁省| 唐海县| 苍梧县| 凌源市| 宾川县| 吉安县| 安顺市| 凤山市| 孟州市| 祁连县| 海宁市| 浦北县| 沿河| 东丰县| 济源市| 朝阳市| 绍兴市| 修水县| 中江县| 淮滨县| 章丘市| 额敏县|