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

Parth Jeet March 6, 2019

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
Daniel Santos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2019

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
AUG Leaders

Atlassian Community Events