Create Jenkinsfile

This commit is contained in:
Telesphoreo 2022-04-07 12:37:39 -05:00
parent fc08e17dd3
commit 6381ddb193

19
Jenkinsfile vendored Normal file
View 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()
}
}
}