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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Angular pipeline FTP does not send correct build

Hi, I want to make a pipeline that first compiles the angular project and then sends that build to the web via FTP.

I have modified the angular.json and the firebase.json with the folder where it is compiled. The problem is that when you do the steps, the compilation that you upload to the ftp is not the one that you compiled. Where is the compilation? What could be happening ?, I give you screenshots of everything I mentioned.



1 answer

Hi @sourcer ,

Any files that you generate during a step will not be available in subsequent steps, unless you define them as artifacts.

If in your step named "Build Prod" there are files generated in the folder Front/app/public, that you want then to deploy in the next step named "Upload ftp", you should define the contents of this directory as artifacts.

The relevant section in the yml file would look like this:

- step:
    name: Build prod
      - cd Front/app
      - npm install -g @angular/cli
      - npm install
      - ng build
      - cd public
      - ls -l
      - Front/app/public/**

You can read more on artifacts in the following documentation:

Please feel free to let us know if this works for you and if you need further assistance.

Kind regards,

Thank you very much Teodora, I'm going to try it.

Like Theodora Boudale likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Bitbucket

Contest: Share your custom Bitbucket Pipe and win

Announced in this blog, this holiday season we’re celebrating all things CI/CD and between now and the end of 2019 we’ll be showcasing content, use cases, feature announcements and more. One featur...

2,126 views 11 6
Join discussion

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