From 03c4ba992c73cf0fda1ddf472e633e3bd9714dda Mon Sep 17 00:00:00 2001
From: Chris Lima <christopher@inatel.br>
Date: Mon, 23 Oct 2023 20:11:15 -0300
Subject: [PATCH] add Jenkinsfile

---
 Jenkinsfile | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index fd0a90d..79e2a1d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -10,6 +10,34 @@ pipeline {
                 echo 'Building...'
                 sh "mvn --version"
                 sh "java --version"
+                sh '''
+                   cd Aula-GitHub-Actions
+                   mvn clean install
+                   '''
+            }
+
+        }
+
+        stage('Test'){
+
+            steps {
+                echo 'Testing...'
+                sh '''
+                   cd Aula-GitHub-Actions
+                   mvn clean test site
+                   '''
+            }
+
+        }
+
+        stage('Notification'){
+
+            steps {
+                echo 'Notification...'
+                sh '''
+                   cd scripts
+                   ./jenkins.sh
+                   '''
             }
 
         }