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

Webpack not building files running Bitbucket pipeline & exclude files not working?

Hi guys,

 

Recently started working with CI and I really like it so far. Need time to get used to it. I have managed to make a connection to my web server using SFTP, created the public & secret keys everything works fine file uploading, etc.

However, I have this problem and don't what I am doing wrong that my Webpack when running the CI is not building the "assets" compiled files at all instead it keeps running and does nothing.

Also excluding files is not possible in SFTP I get command not recognized. 

 

My bitbucket-pipelines.yml:

 

Screen Shot 2019-07-22 at 22.22.15.png

Can someone please help? I have created multiple functions in package.json where I only build the files but nothing goes to assets. 

1 answer

BundleAnalyzerPlugin was causing the problem. and the step had to be switched.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,027 views 0 3
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