How to bulk change the password of the Fisheye/Crucible repositories

お困りですか?

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

コミュニティに質問

目的

This page covers the steps required to change a significant amount of repository passwords in your Fisheye/Crucible instance. In particular, it provides a faster alternative to performing the update without changing the passwords one by one through the user interface.

ソリューション

  1. Stop Fisheye/Crucible.
  2. Locate the config.xml file in the FISHEYE_INST directory.
  3. Create a backup copy of the config.xml file.
  4. Edit config.xml and identify the password requiring an update.
    1. This file contains the list of the repositories currently configured in the application. The details of each one of them is described by a repository tag and its children nodes.

    2. The password is stored, in clear text, in the password attribute of the password-auth tag. For example:

      Git repository in the config.xml file
      <repository name="Rep1" description="Repository1" store-diff="true" enabled="true">
         <git location="https://username@bitbucket.org/repository_path/repository_name.git" renames="none" path="">
            <password-auth password="your_password_here"/>
         </git>
         ...
      </repository> 
  5. Find and replace the old password with the new password.

  6. Restart Fisheye/Crucible.

  7. Verify that the modified repository/repositories are still Running by checking the State column in the Administration > Repositories page.

最終更新日 2018 年 7 月 31 日

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

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