-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathJenkinsfile
More file actions
25 lines (24 loc) · 649 Bytes
/
Jenkinsfile
File metadata and controls
25 lines (24 loc) · 649 Bytes
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
pipeline {
agent none
stages {
stage('Gradle Build') {
steps {
sh "./gradlew build"
}
agent any
tools {
jdk 'jdk25'
}
post {
success {
archiveArtifacts 'build/libs/**.jar'
}
}
}
}
post {
regression {
emailext attachLog: true, body: "${env.BUILD_URL}", compressLog: true, recipientProviders: [buildUser(), developers()], subject: "${env.JOB_NAME} - Build # ${env.BUILD_NUMBER} - ${currentBuild.currentResult}!"
}
}
}