Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,644,725
Community Members
 
Community Events
196
Community Groups

How can I zip/tar a build log to store as an artifact for users to download?

Edited

We have remote users in India and it takes a long time for them to view or download the logs after a build.  I would like to zip these and store as an artifact so they will be smaller therefore quicker to d/l.

2 answers

1 vote
robhit
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 04, 2018

Hi Jason,

It is quite achievable but the only possible way that I could think of doing this by making use of a script to copy the build logs (or any other data as per the requirement) in the build working directory and then using the artifact definition.

Just to give you hints:

* We can make use of bamboo variables here.

* Build logs are stored in <Bamboo-Home>/xml-data/builds/<plan>/download-data/build-logs/

Thanks,

Robhit

Sorry for the long delay but it too me this long to get our IT department to give me an account to use to access the shared drive.  

I'm running into issues and was wondering if you can provide a little more guidance.

net use and net view are not available so looking into another way to get to the data.  Any ideas you can provide would be greatly appreciated.

Shared drive is \\<bamboo server>\Worksoft\??? (can't see any further with my account)

and is only accessible from a single account which I have been unable to use to map to the share in order to dive deeper into the directory structure on my Windows machine as it says it is already mapped.  Net use on my Windows machine is giving System error 67 - network name cannot be found.  

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events