mirror of
https://github.com/plexusorg/Blackout.git
synced 2024-12-28 18:44:23 +00:00
19 lines
526 B
Text
19 lines
526 B
Text
|
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.BLACKOUT_WEBHOOK_URL
|
||
|
cleanWs()
|
||
|
}
|
||
|
}
|
||
|
}
|