MatterLink/Jenkinsfile

34 lines
931 B
Plaintext
Raw Permalink Normal View History

2018-02-10 18:10:12 +00:00
pipeline {
agent any
2018-02-10 18:07:31 +00:00
stages {
2018-05-07 22:45:34 +00:00
stage("init") {
steps {
sh 'git submodule update --init --recursive'
}
}
stage("1.7.10") {
2018-02-11 15:33:19 +00:00
steps {
sh './gradlew :1.7.10:setupCiWorkspace'
sh './gradlew :1.7.10:clean'
sh './gradlew :1.7.10:build'
archiveArtifacts artifacts: '1.7.10/build/libs/*jar'
2018-02-11 15:33:19 +00:00
}
}
stage("1.9.4") {
2018-02-10 18:07:31 +00:00
steps {
sh './gradlew :1.9.4:setupCiWorkspace'
sh './gradlew :1.9.4:clean'
sh './gradlew :1.9.4:build'
archiveArtifacts artifacts: '1.9.4/build/libs/*jar'
2018-02-10 18:07:31 +00:00
}
}
stage("1.12.2") {
steps {
2018-02-10 19:06:42 +00:00
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'
2018-02-10 18:07:31 +00:00
}
}
}
}