hope this is how jekins stages work
This commit is contained in:
parent
70406cf308
commit
035dfa2511
|
@ -1,18 +1,21 @@
|
|||
node {
|
||||
checkout scm
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage("checkout") {
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
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'
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue