Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-25 07:40:10 +01:00
a72e49527d
Co-authored-by: Tim203 <mctim203@gmail.com> Co-authored-by: rtm516 <ryantmilner@hotmail.co.uk>
39 Zeilen
1.0 KiB
Groovy
39 Zeilen
1.0 KiB
Groovy
pipeline {
|
|
agent any
|
|
tools {
|
|
gradle 'Gradle 7'
|
|
jdk 'Java 17'
|
|
}
|
|
options {
|
|
buildDiscarder(logRotator(artifactNumToKeepStr: '20'))
|
|
}
|
|
stages {
|
|
stage ('Build') {
|
|
steps {
|
|
sh 'git submodule update --init --recursive'
|
|
rtGradleRun(
|
|
usesPlugin: true,
|
|
tool: 'Gradle 7',
|
|
buildFile: 'build.gradle.kts',
|
|
tasks: 'clean build',
|
|
)
|
|
}
|
|
post {
|
|
success {
|
|
archiveArtifacts artifacts: 'bootstrap/**/build/libs/Geyser-*.jar', fingerprint: true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
success {
|
|
script {
|
|
if (env.BRANCH_NAME == 'master') {
|
|
build propagate: false, wait: false, job: 'GeyserMC/GeyserConnect/master', parameters: [booleanParam(name: 'SKIP_DISCORD', value: true)]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|