You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Dear Community,
I created a buildjob that uses artifacts from two different buildjobs A and B (therefore, has no own repository). The job itself creates an artifact C that I want to upload to Artifactory (the binary version control tool). So, now I want to create properties that link directly to the revision number of the artifacts. In the buildjobs a and b that create A and B, it can be easily accessed with ${bamboo.repository.revision.number}. However, since I do not checkout any repo and only use the artifacts via the sharing artifact option:
https://confluence.atlassian.com/bamboo/sharing-artifacts-359400060.html
the revision.number variable is not an option.
Do you have any suggestions how to get to the required commit hash?
Thx for your help,
kind regards
You could propagate the ${bamboo.repository.revision.number} variable by means of a secondary artifact and the Bamboo Variables task, roughly:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.