hope this is how jekins stages work
This commit is contained in:
parent
70406cf308
commit
035dfa2511
|
@ -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'
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue