mirror of
https://github.com/plexusorg/Blackout.git
synced 2024-12-28 02:24:26 +00:00
19 lines
No EOL
517 B
Groovy
19 lines
No EOL
517 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage("build") {
|
|
steps {
|
|
withGradle {
|
|
sh "./gradlew build --no-daemon"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
archiveArtifacts artifacts: "build/libs/*-SNAPSHOT.jar", fingerprint: true
|
|
discordSend description: "Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: env.WEBHOOK_URL
|
|
cleanWs()
|
|
}
|
|
}
|
|
} |