hope this is how jekins stages work

This commit is contained in:
NikkyAI 2018-02-10 19:10:12 +01:00 committed by Unknown
parent 70406cf308
commit 035dfa2511
1 changed files with 7 additions and 4 deletions

11
Jenkinsfile vendored
View File

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