Is it possible to exit the 'expo build:android' task once it's been published to save on Bitbucket Pipeline usage?

#1

When I run expo build:android it takes about 15 minutes to come back as “uploaded”. This is causing my “minutes” usage in Bitbucket Pipelines to take a nose dive very quickly. Is it possible to exit the expo build:android task as soon as it’s successfully published? I don’t need to know when it’s been fully uploaded.

1 Like
#2

Hey @cmacdonnacha,

You can pass the --no-wait flag to the build command!

Cheers,

Adam

#3

Thanks tried that but didn’t seem to work. It still waits until the build is uploaded.

expo build:android --no-wait

#4

Well, we have to get your minified code and assets to build your app, so uploading them is necessary.
--no-wait just doesn’t wait for a build to finish.

#5

Sorry, phrased that incorrectly. It uploades the files (publishes them) but then waits for the entire build to finish even though I pass the --no-wait flag.

#6

Is the command I type at the beginning correct?

expo build:android --no-wait

#7

Hey, can anyone help with this?

closed #8

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.