ビルドを実行すると、計画内のジョブすべてによって生成されたアーティファクトを表示できます。また、最新ビルドからアーティファクトの最新バージョンを表示することもできます。

Artifacts are files created by a job build (e.g. JAR files). Artifact definitions are used to specify which artifacts to keep from a build and are configured for individual jobs.

ビルドのアーティファクトを表示する

ビルドのアーティファクトを表示する方法は次のとおりです。

  1. Go to the build result. See Viewing a build result for instructions.
  2. Click the Artifacts tab. The artifacts produced by the jobs in the plan will be displayed. The artifact definitionsfor a job determine which artifacts are kept and which artifacts are shared with other jobs in the plan.
    • The artifacts that are marked as shared (in the artifact definitions) are listed under 'Shared Artifacts'.
    • The artifacts that are not marked as shared (in the artifact definitions) are listed under 'Job Artifacts'.

最新ビルドからアーティファクトの最新バージョンを表示する

最新ビルドからアーティファクトの最新バージョンを表示するには、ビルド アーティファクトの URL を手動で編集して取得できます。

最新ビルドからアーティファクトの最新バージョンを表示する方法は次のとおりです。

  1. ビルド アーティファクトの URL をコピーします。
  2. ビルド アーティファクトの URL をブラウザーに貼り付け、URL 内のビルド番号を「/latest」で置き換えます。
    • ログインしてアーティファクトを表示する必要がある場合は、os_username および os_password パラメーターを URL に追加して、ファイルにアクセスすることができます。

たとえば、アーティファクトの URL が、
http://server/bamboo/browse/MYBUILD-254/artifact/logs/sample-log.log
の場合、「-254」を /latest で置き換えます:
http://server/bamboo/browse/MYBUILD/latest/artifact/logs/sample-log.log

スクリーンショット: ビルド アーティファクト


9 Comments

  1. Anonymous

    I am using version 2.7.3 and the /latest path on artifact url give me Page Not Found error.

  2. derek berger

    How may I view latest build's artifacts? Previously, the following URL would do the trick

    http://MYSERVER/download/MYBUILD/artifacts/latest/Results1/index.html

    But now, I can only view artifacts for individual builds, as follows:

    http://MYSERVER/browse/MYBUILD-JOB1-404/artifact/Results1/index.html

    Also using version 2.7.3.

  3. Bob Swift

    Prior to 2.7, the build log was automatically provided as an artifact. How do you configure to get the build log as an artifact?

  4. Anonymous

    I would like to get a link to the artifacts from the last *successful* build. Cant it be done ?

    Thanks

  5. Anonymous

    Can artifacts be aged off (ie deleted) automatically after some amount of time has passed?

  6. Anonymous

    Is it possible to view artifacts built by a remote agent from the web ui?

    1. NathanA

      I may have been mistaken. It's actually the same for viewing artifacts generate by remote agents, as those artifacts get transferred to Bamboo server - BambooHome/artifacts directory.

      1. Klaus-Eduard Runnel

        Since the time our project team started to use remote agents instead of local ones, Bamboo web UI does not provide a link to artifacts any more, telling us where the files reside on the server instead:

        Job artifacts are accessible on server under:

        /bamboo/artifacts/XYZ/FBUG/build-00008

        (Incidentally, Bamboo was upgraded to version 5.3 about the same time.)

        That's not much of a help because the project teams do not generally have access to the central server. We can of course access the machine running the remote agent, where the artifacts are accessible, but that's the hard way.

        What do you think, might we just have a configuration problem?

        1. James Dumay

          You will need to use artifact sharing to capture artifacts from agents and store them on the server.

          Let me know if this is what you are looking for.