diff --git a/Jenkinsfile b/Jenkinsfile index 783c2fa41..790e4e4cc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,28 @@ pipeline { - agent any - stages { - stage('Build') { + agent any + stages { + stage('Build') { + steps { + sh './mvnw clean install' + } + } + + stage('Test') { + steps { + sh './mvnw test' + } + } + + stage('Package') { steps { sh './mvnw package' } } - } + + stage('Deploy') { + steps { + sh './mvnw deploy + } + } + } } \ No newline at end of file