From 8cbcf4cb819a4d50412b4543ee57ba25dab749c0 Mon Sep 17 00:00:00 2001 From: Chris Lima Date: Wed, 24 Apr 2024 20:06:06 -0300 Subject: [PATCH] Jenkinsfile - pipeline inteiro --- Jenkinsfile | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3ac1bdc..765268d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,7 +22,31 @@ pipeline { } - + stage('Test'){ + + steps { + echo 'Testing...' + sh ''' + cd Aula-GitHub-Actions + mvn clean test site + ''' + } + + } + + stage('Notification'){ + + steps { + echo 'Notification...' + sh ''' + cd scripts + chmod 775 * + ./jenkins.sh + ''' + } + + } + } } \ No newline at end of file