update Jenkinsfile

This commit is contained in:
Len 2023-12-30 12:16:13 +01:00
parent 77a9ffc62e
commit c09d1950a1

22
Jenkinsfile vendored
View File

@ -1,8 +1,20 @@
pipeline {
stage('Checkout') {
checkout scm
}
stage ('Build') {
sh './gradlew build'
agent any
stages {
stage('Gradle') {
steps {
sh './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: 'https://discord.com/api/webhooks/1006621409151295529/aK-0Q5kwVI3OxSkpIcVoT7rvnW4ntHkhqVYRiX09i4bj8onE384-eFg_OWR6zWsm-_46'
}
}
}
}