mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
03283021cb
GeyserConnect is an extension now, and does not need to be a step in jenkins.
28 lines
725 B
Groovy
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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|