mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 14:59:20 +00:00
We no longer use Jenkins
This commit is contained in:
30
Jenkinsfile
vendored
30
Jenkinsfile
vendored
@@ -1,30 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
agent any
|
|
||||||
tools {
|
|
||||||
gradle 'Gradle 7'
|
|
||||||
jdk 'Java 17'
|
|
||||||
}
|
|
||||||
options {
|
|
||||||
buildDiscarder(logRotator(artifactNumToKeepStr: '5'))
|
|
||||||
}
|
|
||||||
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: '**/build/libs/floodgate-*.jar',
|
|
||||||
excludes: '**/floodgate-parent-*.jar,**/floodgate-api.jar,**/floodgate-core.jar',
|
|
||||||
fingerprint: true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user