From 6381ddb193fb787675e08cf935c6fe05952a8471 Mon Sep 17 00:00:00 2001 From: Telesphoreo Date: Thu, 7 Apr 2022 12:37:39 -0500 Subject: [PATCH] Create Jenkinsfile --- Jenkinsfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Jenkinsfile diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..fc3d527 --- /dev/null +++ b/Jenkinsfile @@ -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() + } + } +} \ No newline at end of file