Move Jenkinsfile to the root directory

This commit is contained in:
2025-06-28 03:56:10 +02:00
parent a507e64301
commit 73c451e423
Vendored
+24
View File
@@ -0,0 +1,24 @@
pipeline {
agent any
stages {
stage('Gradle') {
steps {
sh '''
set +x
chmod +x gradlew
./gradlew build
'''
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: 'build/libs/', followSymlinks: false
}
}
stage('discord') {
steps {
discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: env.discordwebhook
}
}
}
}