add new branch for testing

This commit is contained in:
TechPrimers
2018-10-29 23:33:32 +05:30
parent f842d55ed2
commit 6babdf33cb
7 changed files with 143 additions and 39 deletions

13
Jenkinsfile vendored
View File

@@ -11,7 +11,7 @@ pipeline {
}
}
/* stage ('Testing Stage') {
stage ('Testing Stage') {
steps {
withMaven(maven : 'maven_3_5_0') {
@@ -19,15 +19,12 @@ pipeline {
}
}
}
*/
stage ('Deployment Stage') {
steps {
stage('Generate HTML report') {
cucumber buildStatus: UNSTABLE,
fileIncludePattern: '**/cucumber.json',
jsonReportDirectory: 'target'
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/'
}
}
}
}