Skip to content

Commit

Permalink
add Jenkinsfile
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislima committed Oct 23, 2023
1 parent 8e7380f commit 03c4ba9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
'''
}

}
Expand Down

0 comments on commit 03c4ba9

Please sign in to comment.