Build & Deploy Flutter Web Application
Was this helpful?
Was this helpful?
This page runs you through the steps to build the web application and deploy in respective environment.
Follow the instructions to set up the job pipeline. Ignore the steps not applicable to the front end.
Before setting up the job pipeline, make sure each project has a docker folder in the root folder of the project. The cirrusci flutter docker tag must be mentioned for building the application through Jenkins. Check the image below for reference.
The global assets inside the .env file should be loaded from the environment assets.
Follow the sample config added in yaml files of the respective environment to load the global assets of works_shg_app.
Congrats!!! We are now ready to build and deploy the application on the web.
dev yaml file :
Go to the Jenkins page. Click on your project to build under the folder path mentioned below.
For reference, if works_shg_app need to be build, Go to path
Go to the Jenkins page. Click on the desired environment you want to deploy the build
Path ref: