Initial Library Work done

This commit is contained in:
2023-05-21 19:58:15 +02:00
commit ffb5800924
63 changed files with 4523 additions and 0 deletions

36
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,36 @@
pipeline {
agent {
label "master"
}
tools {
jdk "JAVA17"
}
stages {
stage("Notify Discord") {
steps {
discordSend webhookURL: env.FDD_WH_ADMIN,
title: "Build Started: SDLink-Core #${BUILD_NUMBER}",
link: env.BUILD_URL,
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})"
}
}
stage("Publish") {
steps {
sh "chmod +x ./gradlew"
sh "./gradlew clean spotlessCheck publish"
}
}
}
post {
always {
sh "./gradlew --stop"
deleteDir()
discordSend webhookURL: env.FDD_WH_ADMIN,
title: "Build Finished: SDLink-Core #${BUILD_NUMBER}",
link: env.BUILD_URL,
result: currentBuild.currentResult,
description: "Build: [${BUILD_NUMBER}](${env.BUILD_URL})\nStatus: ${currentBuild.currentResult}"
}
}
}