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

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.
主站蜘蛛池模板: 北宁市| 岑巩县| 苏州市| 铜鼓县| 深泽县| 巨野县| 锡林郭勒盟| 莎车县| 翼城县| 澄江县| 阿克苏市| 孝昌县| 黑水县| 乃东县| 永登县| 门源| 来宾市| 略阳县| 墨竹工卡县| 孟连| 马尔康县| 阿坝| 丁青县| 海南省| 海安县| 新巴尔虎右旗| 伊金霍洛旗| 鱼台县| 利津县| 衢州市| 太原市| 黄山市| 资兴市| 旺苍县| 苏州市| 峨眉山市| 右玉县| 抚州市| 沾益县| 乳山市| 百色市|