Update to 1.21.6 and java 21 using cosmos

This commit is contained in:
2025-06-28 04:52:39 +02:00
parent e4ca6d986f
commit 42a9701959
25 changed files with 272 additions and 274 deletions
Vendored
+29
View File
@@ -0,0 +1,29 @@
pipeline {
agent any
stages {
stage('Gradle') {
steps {
sh '''
chmod +x gradlew
./gradlew build
'''
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: 'build/libs/', followSymlinks: false
}
}
stage('discord') {
when {
anyOf {
branch 'main'
branch 'master'
}
}
steps {
discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: env.discordwebhook
}
}
}
}