diff --git a/Jenkinsfile b/Jenkinsfile index 2c0b4c87..06694d96 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,32 +1,21 @@ pipeline { agent any - stages { - stage ('Compile Stage') { - + stage('Compile Stage') { steps { - withMaven(maven : 'maven_3_5_0') { - sh 'mvn clean compile' - } + echo 'Compiling...' } } - - stage ('Testing Stage') { - + stage('Testing Stage') { steps { - withMaven(maven : 'maven_3_5_0') { - sh 'mvn test' - } + echo 'Running tests...' } } - - - stage ('Deployment Stage') { + stage('Deployment Stage') { steps { - withMaven(maven : 'maven_3_5_0') { - sh 'mvn deploy' - } + echo 'Deploying...' + sh 'echo "Deploy done ✅"' } } } -} \ No newline at end of file +}