MatterLink/Jenkinsfile

34 lines
936 B
Groovy

pipeline {
agent any
stages {
stage("init") {
steps {
sh 'git submodule update --init --recursive'
}
}
stage("1.10.2") {
steps {
sh './gradlew :1.10.2:setupCiWorkspace'
sh './gradlew :1.10.2:clean'
sh './gradlew :1.10.2:build'
archiveArtifacts artifacts: '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'
archiveArtifacts artifacts: '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'
archiveArtifacts artifacts: '1.12.2/build/libs/*jar'
}
}
}
}