Configuring the SFTP artifact handler

このページの内容

お困りですか?

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

コミュニティに質問

The SFTP artifact handler can store artifacts on a remote POSIX-compliant (Linux, Unix) SSH server, which helps reduce the load and disk usage on the Bamboo server and improve its performance. This works by allowing Bamboo agents to communicate with the SSH server directly, completely bypassing the Bamboo server during artifact publishing and retrieval.

Artifacts saved to a remote SSH server by the SFTP artifact handler are accessible directly on the SSH server or through the Bamboo interface. In the latter case, the Bamboo server acts as a proxy between the client browser and the SSH server.

Make sure that your SSH server supports the SFTP protocol extension. If you're using OpenSSH, SFTP is enabled by default, and no action is required.

Changing artifact handler configuration details requires Administrator permissions.

To enable and configure the SFTP artifact handler:

  1. Select Administration > Plans > Artifact handlers
  2. Enable the SFTP artifact handler for shared and non-shared artifacts by selecting the appropriate checkbox.
  3. Scroll down to the Handler-specific configuration section and configure the SFTP artifact handler.

    SFTP artifact handler settings...

    The following table describes the available SFTP artifact handler settings:

    設定説明
    Authentication typeThe preferred method of authenticating with the SSH server:
    ユーザ名The username on the remote host to use
    ホストHost name or IP address of the SSH server.
    Remote pathThe path on the remote file system where Bamboo will store artifacts.
    接続時にリモート ホスト フィンガープリントを確認Enables strict host fingerprint verification when establishing an SSH connection.
    ホスト フィンガープリントThe host fingerprint to use if strict host verification is on.
    ポートThe port number used by the SSH server.

    The default value is 22.

    Package thresholdThe maximum number of files per artifact.

    If the number of files in the artifact exceeds the package threshold, the artifact is automatically compressed into a ZIP archive to reduce resource overhead during upload and download. 

  4. Optionally, de-select the handlers you want to stop using.
  5. 保存 を選択します。
  6. If you want to test the connection to the SSH server, select Test connection.
    Bamboo will now attempt to create and immediately remove a file on the SSH server to verify that it's accessible and that file system permissions are set correctly.


最終更新日 2022 年 11 月 23 日

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

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