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,293,312
Community Members
 
Community Events
165
Community Groups

Is there an alternative of .linkedRepositories() to give actual Repo path in Java Specs?

Edited

I'm using "View plan as Java Specs" to generate Specs for my plan.

There, I'm getting .linkedRepositories() method which has my defined Repo.

I actually want to pass the path/credential of my Github repo in place of defined repository. 

 

1 answer

1 vote

Hi @Parth Jeet

Currently (Bamboo 6.8 and older versions) it is not possible to create linked repositories from JAVA specs. What you can do is creating a plan repository.

You can see more details about this and some examples of code here: Bamboo Java Specs Reference - Repositories

If you want to generate a full code example for your instance on creating a GitHub plan repository, please try:

  1. Create a dummy plan
  2. Add it a GitHub repository as you which
  3. View plan as java specs to check the code

Please let me know if that helps.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

909 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you