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

Running superproject for library pull request

Hi all,

 

I have bamboo build plan for library triggered when pull request is created. This build plan is used to do some automated checks for pull requests. I want to run some checks also in project, that uses this library as submodule so I need to pass branch of library (based on pull request) to dependend build plan.

IFAIK there is no possibility to pass variables to depenend plan on bamboo so I am looking for other solution. There are more libraries and one superproject so I need to share superproject buildplan between libraries. Is there a standard way how to solve this scenario? Thank you in andvance for any help.

Martin

1 answer

0 votes
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 18, 2018

How about adding a Script task in library build plan to send a trigger command to superproject build plan like the following example?

curl -u <username>:<password> -X POST http://localhost:8085/rest/api/latest/queue/<projectKey>-<planKey>?bamboo.variable.<variableName>=<newVariableValue>

It can be used to set custom variable value too.

REST API

Thank you, this should solve it. I'll try it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events