A Freestyle project is a Jenkins project that can be configured in any way the user desires. It is a flexible and powerful tool that can be used to automate many different types of tasks, including building, testing, and deploying applications. With a Freestyle project, users can define their own build steps using a variety of tools and technologies. These steps can include compiling code, running tests, and packaging applications for deployment.
Add Description And checkbox of GitHub Project
If your repository is Private you have to To Give the Credentials (Access Token)
In This Build Section (select Execute with shell commands)You have to Give the Commands
docker build -t myimage .
docker compose up
docker compose down
echo "Done"
Your Fressstyle Project is ready.
Highlited willl be workspace location where all files are stored.
If You Build these Your Git repo Will be cloned and you can check it on Your server as in my case AWS ubuntu.
The Restorent Web App files are cloned succesfully.