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