SiteBackend/Jenkinsfile
Teriuihi 405c2a73bd Fix typo in Gradle build command in Jenkinsfile
Corrected the parameter for skipping database tests from `dontRunDatabaseTests` to `doNotRunDatabaseTests` in the Gradle build step. This ensures the intended tests are skipped during the build process.
2024-08-04 22:53:35 +02:00

20 lines
599 B
Groovy

pipeline {
agent any
stages {
stage('Gradle') {
steps {
sh 'bash gradlew build -DdoNotRunDatabaseTests=true'
}
}
stage('Archive') {
steps {
archiveArtifacts artifacts: 'build/libs/', followSymlinks: false
}
}
stage('discord') {
steps {
discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: env.discordwebhook
}
}
}
}