We just upgraded from Bamboo 2.7.2 to 3.1.4, and it looks like the URLs for the artifact files has changed.
Has anyone found a way to derive the URL for an artifact file so it can be provided to an external app which will download the package?
Currently, the URL looks like this:
/browse/<ProjectKey>-<PlanKey>-<BuildNumber>/artifact/<JobKey>/<Artifact Name Description>/ZipFileName.zip
Is there a way to derive this inside the NAnt job for any given random project artifact?
Use first two parts of bamboo.buildKey to determine <ProjectKey>-<PlanKey>
Use bamboo.buildNumber to determine <BuildNumber>
Use last part of bamboo.buildKey to determine <JobKey> . Note that if your artifact is a shared artifact, you should use 'shared' instead of job key.
The <Artifact Name Description> is the label you have given to your artifact with spaces substituted with dashes.
Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs