AltitudeBot/Jenkinsfile
Teriuihi 0e0db7cb17 Added Jenkins file
Added Jenkins file to automate builds
2024-08-07 00:25:19 +02:00

20 lines
569 B
Groovy

pipeline {
agent any
stages {
stage('Gradle') {
steps {
bash './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
}
}
}
}