add new branch for aws deploy testing
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -6,7 +6,7 @@ pipeline {
|
||||
|
||||
steps {
|
||||
withMaven(maven : 'maven_3_5_0') {
|
||||
sh 'mvn clean compile'
|
||||
sh 'mvn clean install'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,8 +23,8 @@ pipeline {
|
||||
|
||||
stage ('Deployment Stage') {
|
||||
steps {
|
||||
sh 'cd target'
|
||||
sh '/usr/local/bin/aws s3 cp jenkins-example-1.0-SNAPSHOT.jar s3://techprimers-s3/'
|
||||
|
||||
sh '/usr/local/bin/aws s3 cp target/jenkins-example*.jar s3://techprimers-s3/'
|
||||
sh '/usr/local/bin/aws s3 ls'
|
||||
sh '/usr/local/bin/aws s3 ls s3://techprimers-s3/'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user