Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-2357

Link to artifacts from the latest successful build

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      I'd like to use Bamboo for the purpose of building and distributing 'nightly builds'. How do I link, not to a specific build number, but to the latest successful build? Hudson for example does this easily.

            [BAM-2357] Link to artifacts from the latest successful build

            Martin Hollerweger added a comment - - edited

            This worked for me:

            https://bamboo.yourcompany.com/browse/{PROJECTKEY}-{PLANKEY}/latest/artifact/shared/{ArtifactNameInBamboo}/

            Martin Hollerweger added a comment - - edited This worked for me: https: //bamboo.yourcompany.com/browse/{PROJECTKEY}-{PLANKEY}/latest/artifact/shared/{ArtifactNameInBamboo}/
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3013708 ] New: JAC Suggestion Workflow 3 [ 3606352 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]

            This still works as of Bamboo 6.3, the exact format depends if the artifact is set to shared or not. 

            Normal format:

            https://bamboo.company.com/artifact/PLANKEY/JOBKEY/build-latest/PLAN/artifactfilename
            

            Shared artifact:

            https://bamboo.company.com/artifact/PLANKEY/shared/build-latest/PLAN/artifactfilename
            

            Kelly Schoenhofen added a comment - This still works as of Bamboo 6.3, the exact format depends if the artifact is set to shared or not.  Normal format: https: //bamboo.company.com/artifact/PLANKEY/JOBKEY/build-latest/PLAN/artifactfilename Shared artifact: https: //bamboo.company.com/artifact/PLANKEY/shared/build-latest/PLAN/artifactfilename
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2699087 ] New: JAC Suggestion Workflow [ 3013708 ]
            Owen made changes -
            Backlog Order (Obsolete) Original: 3550000000
            Issue Type Original: Improvement [ 4 ] New: Suggestion [ 10000 ]
            Owen made changes -
            Workflow Original: Bamboo Workflow 2016 v1 [ 1409949 ] New: Confluence Workflow - Public Facing v4 [ 2699087 ]

            this doesn't seem to work anymore

            Nick Hilton added a comment - this doesn't seem to work anymore
            Marek Went (Inactive) made changes -
            Workflow Original: Bamboo Workflow 2014 v2 [ 618796 ] New: Bamboo Workflow 2016 v1 [ 1409949 ]

            In Bamboo 5.7.2 this url format worked for me:

            http://<bamboo>/artifact/<plan-key>/shared/build-latestSuccessful/<artifact-path>

            e.g. http://bamboo/artifact/ASC-CORE/shared/build-latestSuccessful/IntegrationTest/Artifacts/IntegrationTest/Doc/index.html

            An easy way to generate that url is go to the build artifact page, and view an artifact. Then in the url replace build-123 with build-latest or build-latestSuccessful.

            Carolyn Van Slyck added a comment - In Bamboo 5.7.2 this url format worked for me: http://<bamboo>/artifact/<plan-key>/shared/build-latestSuccessful/<artifact-path> e.g. http://bamboo/artifact/ASC-CORE/shared/build-latestSuccessful/IntegrationTest/Artifacts/IntegrationTest/Doc/index.html An easy way to generate that url is go to the build artifact page, and view an artifact. Then in the url replace build-123 with build-latest or build-latestSuccessful.

            Hi donnib,

            This worked for me:
            http://<bambooServer:port>/browse/<projectKey>-<planKey>/latest/artifact/<jobKey>/<artifactName>/<generatedArtifactName>

            <artifactName>: The name that i've set in artifact definitions page. For example: [ZIP]
            <generatedArtifactName>:The real artifact name. For example: [myArtifact.zip]

            And in this way:

            http://<bambooServer:port>/browse/<projectKey>-<planKey>/latest/artifact/<jobKey>/ZIP/myArtifact.zip

            I hope this can be useful for you

            Regards,
            Antonio

            Antonio Garea added a comment - Hi donnib, This worked for me: http://<bambooServer:port>/browse/<projectKey>-<planKey>/latest/artifact/<jobKey>/<artifactName>/<generatedArtifactName> <artifactName>: The name that i've set in artifact definitions page. For example: [ZIP] <generatedArtifactName>:The real artifact name. For example: [myArtifact.zip] And in this way: http://<bambooServer:port>/browse/<projectKey>-<planKey>/latest/artifact/<jobKey>/ZIP/myArtifact.zip I hope this can be useful for you Regards, Antonio

              pbruski Przemek Bruski
              1d31a2de2270 Aristedes Maniatis
              Votes:
              12 Vote for this issue
              Watchers:
              13 Start watching this issue

                Created:
                Updated:
                Resolved: