This project tests a simple calculator application implemented in Java and checks the CI/CD with Jenkins.
- Addition
- Subtraction
- Multiplication
To get started with the project, follow these instructions:
- JDK (Java Development Kit)
- Maven
- Git
-
Clone the repository:
git clone https://github.com/Vio-ss/Final-qn3
-
Navigate to the project directory:
-
Compile the application using Maven:
mvn clean package
-
Run the tests to validate the operations:
mvn clean test
The project includes a Jenkins pipeline that automates the following stages:
- Checkout: Checks out the source code from the GitHub repository.
- Build: Compiles the application using Maven.
- Test: Tests the methods using Maven clean test.
The Jenkinsfile defines the pipeline stages and can be configured in Jenkins to automate the CI/CD process.