When using the 'azure-functions-deploy' pipeline, where should I put my zip file in order for the pipeline to be able to access it?
Originally, I was referencing it from the location in which I created it. However, I've now discovered that it's actually a docker container that runs the pipeline, so that location of the zip file is inaccessible.
The documentation is very light on information and makes no mention of where the zip file needs to be in order for the pipeline to access it.
Thanks,
David
Hey David! You should be able to access the file as long as you create it withing the same pipeline step that runs your pipe. Pipelines will mount the current step working directory to the container. If you want to use a zip file generated in one of the previous steps, you should declare it as an artifact https://confluence.atlassian.com/bitbucket/using-artifacts-in-steps-935389074.html.
Thanks for you're reply.
I think I've cracked this now - looks like 'zip' from one step wasn't actually zipping what any rational human would expect, and that's why my zip file wasn't there.
Many thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.