Adds Jenkinsfile
All checks were successful
EpicKnarvik97/Connect-Four/master This commit looks good

This commit is contained in:
2020-02-14 14:52:08 +01:00
parent 95c7637af0
commit 840c122a4e
6 changed files with 24 additions and 568 deletions

24
Jenkinsfile vendored Normal file
View File

@ -0,0 +1,24 @@
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Building...'
sh 'mvn clean & mvn validate & mvn compile'
}
}
stage('Test') {
steps {
echo 'Testing...'
sh 'mvn clean & mvn test'
}
}
stage('Deploy') {
steps {
echo 'Deploying...'
sh 'mvn clean & mvn compile & mvn package & mvn verify & mvn install'
archiveArtifacts artifacts: '**/target/*.jar', fingerprint: true
}
}
}
}