-
Notifications
You must be signed in to change notification settings - Fork 1
/
Jenkinsfile
29 lines (25 loc) · 1021 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pipeline {
agent any
stages {
stage('checkout') {
steps {
git 'https://github.com/chagamharikrishnareddy/petapp.git'
}
}
stage('Build') {
steps {
sh 'mvn clean package'
}
}
stage ('Junit') {
steps {
junit 'target/surefire-reports/*.xml'
}
}
stage('Deploy') {
steps {
s3Upload consoleLogLevel: 'INFO', dontWaitForConcurrentBuildCompletion: false, entries: [[bucket: 'krishbucket12', excludedFile: '', flatten: false, gzipFiles: false, keepForever: false, managedArtifacts: false, noUploadOnFailure: false, selectedRegion: 'us-east-2', showDirectlyInBrowser: false, sourceFile: '**/*.jar', storageClass: 'STANDARD', uploadFromSlave: false, useServerSideEncryption: false]], pluginFailureResultConstraint: 'SUCCESS', profileName: 'aws', userMetadata: []
}
}
}
}