Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I access the repository in all stages

Theo Kerkhof June 25, 2020

I have a linked repository from bitbucket that I checkout in the first stage using the following code:

return new VcsCheckoutTask()

        .description("Checkout Default Repository")

        .checkoutItems(new CheckoutItem()

                  .defaultRepository())

 

when I use "ls" in my Inlinebody it will output the 2 files that are from the repo.

But when I try to access these files from within the next stage I cannot.

I have also tried to used "export fileLocation=`pwd`" yet it does not export to the other stage.

I saw that if you use the "linked repository" that it should be global, but where can I find it then?

Can anybody please help me with this issue?

 

Thanks in advance for all effort.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events