MatterLink/Jenkinsfile

37 lines
1.1 KiB
Groovy

pipeline {
agent any
stages {
stage("1.7.10") {
steps {
sh './gradlew :1.7.10:setupCiWorkspace'
sh './gradlew :1.7.10:clean'
sh './gradlew :1.7.10:build -Pbuild_number=${BUILD_NUMBER}'
archive '1.7.10/build/libs/*jar'
}
}
stage("1.10.2") {
steps {
sh './gradlew :1.10.2:setupCiWorkspace'
sh './gradlew :1.10.2:clean'
sh './gradlew :1.10.2:build -Pbuild_number=${BUILD_NUMBER}'
archive '1.10.2/build/libs/*jar'
}
}
stage("1.11.2") {
steps {
sh './gradlew :1.11.2:setupCiWorkspace'
sh './gradlew :1.11.2:clean'
sh './gradlew :1.11.2:build -Pbuild_number=${BUILD_NUMBER}'
archive '1.11.2/build/libs/*jar'
}
}
stage("1.12.2") {
steps {
sh './gradlew :1.12.2:setupCiWorkspace'
sh './gradlew :1.12.2:clean'
sh './gradlew :1.12.2:build -Pbuild_number=${BUILD_NUMBER}'
archive '1.12.2/build/libs/*jar'
}
}
}
}