diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..656a0b7 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,25 @@ +pipeline { + agent any + stages { + stage('Checkout') { + steps { + git 'https://github.com/pH-7/Simple-Java-Calculator.git' + } + } + stage('Install Dependencies') { + steps { + sh './mvnw clean install' + } + } + stage('Test') { + steps { + sh './mvnw test' + } + } + stage('Build') { + steps { + sh './mvnw package' + } + } + } +}