This repository contains a Jenkinsfile
that automates the build and packing of a Java application. It builds the Java artifact using Maven and pushes it to a repository.
- Defines the CI/CD pipeline.
- Maven configuration file for building the Java application.
- Simple Java application.
The repository includes an Ansible playbook that sets up and runs a simple Flask application with Redis. The Redis instance tracks the number of visitors to the web page.
- Ansible playbook for deploying the application.
ansible-playbook -i inventory deploy_app.yml
The repository includes a Bash script that can unpack multiple packed files, automating the extraction process.
- Shell script for extracting compressed files.
- support gunzip, bunzip2, unzip, uncompress.
./extract file1.tar.gz file2.zip