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,458,998
Community Members
 
Community Events
176
Community Groups

Is there anyway to log script changes in Bamboo jobs? or log any other job changes?

I know that audit logs can track plan changes and plan configuration changes and overall bamboo configuration changes, but is there anyway to log the script file changes or commandline changes in the bamboo jobs??

This is very crucial in resolving on the fly issues and be more compliant internally.

e.g. changes in this tab's script is not logged. anyway to log this as well??

script task.PNG

1 answer

Hi @Chitrarth Sahai ,

There is no straight forward option to make Bamboo to email you for changes happened in a script task.

I can think of 2 possible ways:

Option 1: The content of the script is stored in BUILD_DEFINITION table under XML_DEFINITION_DATA column. You may write a script to monitor for changes happening in this table for this plan.

Option 2:  Use Repository Stored Specs for managing your plan. This way, you can monitor for any changes happened in this RSS repository that includes changes to your script task as well.

Hope that helps.

Cheers,
Jey

Jimmy Seddon Community Leader May 15, 2020

Hey @Chitrarth Sahai,

As an addition to the great option @Jeyanthan I provided I got in the habit of not using inline scripts but adding anything that would be an inline script to the repository that will be checked out as a part of the build process and calling that local script using the file location option in the script task.

Which this will cause a build to happen when you check in changes to that script, it's probably something that should happen anyway since you are changing a part of the build process.

I hope that helps!

-Jimmy

Like Jeyanthan I likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events