Geyser/Jenkinsfile
onebeastchris 03283021cb
Stop jenkins builds trying to trigger GeyserConnect build (#3737)
GeyserConnect is an extension now, and does not need to be a step in jenkins.
2023-05-02 18:08:48 +01:00

28 lines
725 B
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
}
}
}
}
}