Files
jenkins-multibranch-project/Jenkinsfile
2018-06-10 17:38:52 +05:30

31 lines
582 B
Groovy

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'
}
}
}
}