mirror of
https://github.com/plexusorg/Blackout.git
synced 2024-12-29 11:03:06 +00:00
Create Jenkinsfile
This commit is contained in:
parent
fc08e17dd3
commit
6381ddb193
1 changed files with 19 additions and 0 deletions
19
Jenkinsfile
vendored
Normal file
19
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
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()
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue