Bulk Editing Polling Interval for Repositories

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

Bulk editing the polling interval for repositories is not possible and for instances with a high number of repositories this can become an extraneous manual operation.

原因

Fisheye/Crucible currently does not provide that option via the Administration interface. More information can be found on the following feature request:  FE-4205 - Getting issue details... STATUS

ソリューション

It is possible to workaround the bulk editing by editing the config.xml file:

  1. Backup the FISHEYE_INST/config.xml file.
  2. Go to Fisheye/Crucible Administration > Repository Settings > Repositories.
  3. Select one repository (as example) by clicking on the repository name.
  4. Updates. に移動します。
  5. Uncheck the "Use the system default settings for updates" box.
  6. Change the value in "Polling Interval" or check the "Disable polling" box.
  7. "Save".
  8. Shutdown Fisheye/Crucible.
  9. Open the FISHEYE_INST/config.xml file for editing.
  10. Locate the section with the edited repository:
    1. If the polling interval has been defined (example 30 minutes), the following section has been added:

      <updater pollPeriod="30minute"/>
    2. If the polling interval has been disabled, the following section has been added:

      <updater pollPeriod="never"/>
  11. Find and replace for all repositories where these settings should be applied. Note: Repositories which were using the default setting will not contain the <updater> tag. In these cases the new settings should be inserted within the repository type tag. Example:

    <git location="file:///Repositories/Git/git_repository" renames="none" path=""><updater pollPeriod="never"/></git>
  12. Save and close the FISHEYE_INST/config.xml file.
  13. Start Fisheye/Crucible.


最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.