DataLock/Jenkinsfile

22 lines
608 B
Groovy

pipeline {
agent any
stages {
stage('Gradle') {
steps {
sh 'chmod +x ./gradlew'
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: env.discordwebhook
}
}
}
}