pipeline { agent any stages { stage ('Compile Stage') { steps { withMaven(maven : 'maven_3_5_0') { sh 'mvn clean compile' } } } /* stage ('Testing Stage') { steps { withMaven(maven : 'maven_3_5_0') { sh 'mvn test' } } } */ stage ('Deployment Stage') { steps { sh 'ls -lrt' sh '/usr/local/bin/aws s3 ls' } } } }