add jenkins stages

This commit is contained in:
NikkyAI 2018-02-10 19:07:31 +01:00 committed by Unknown
parent fb4d94f718
commit 70406cf308
1 changed files with 16 additions and 2 deletions

18
Jenkinsfile vendored
View File

@ -1,5 +1,19 @@
node {
checkout scm
sh './gradlew :1.12.2:setupCiWorkspace :1.12.2:clean :1.12.2:build'
archive '1.12.2/build/libs/*jar'
stages {
stage("1.11.2") {
steps {
sh './gradlew :1.11.2:setupCiWorkspace :1.11.2:clean :1.11.2:build'
archive '1.11.2/build/libs/*jar'
}
}
stage("1.12.2") {
steps {
sh './gradlew :1.12.2:setupCiWorkspace :1.12.2:clean :1.12.2:build'
archive '1.12.2/build/libs/*jar'
}
}
}
}