Fix Jenkinsfile {}

This commit is contained in:
akastijn 2025-06-28 21:53:20 +02:00
parent de03444bc6
commit f28fdc43ec

5
Jenkinsfile vendored
View File

@ -11,7 +11,7 @@ pipeline {
} }
} }
} }
}
stage('Publish to Maven') { stage('Publish to Maven') {
steps { steps {
withCredentials([usernamePassword(credentialsId: 'alttd-publish-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) { withCredentials([usernamePassword(credentialsId: 'alttd-publish-user', usernameVariable: 'USERNAME', passwordVariable: 'PASSWORD')]) {
@ -22,11 +22,13 @@ pipeline {
} }
} }
} }
stage('Archive') { stage('Archive') {
steps { steps {
archiveArtifacts artifacts: 'plugin/build/libs/DataLockLib*.jar, api/build/libs/DataLockLibApi*.jar', followSymlinks: false archiveArtifacts artifacts: 'plugin/build/libs/DataLockLib*.jar, api/build/libs/DataLockLibApi*.jar', followSymlinks: false
} }
} }
stage('discord') { stage('discord') {
when { when {
anyOf { anyOf {
@ -38,4 +40,5 @@ pipeline {
discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: env.discordwebhook discordSend description: "Build: ${BUILD_NUMBER}", showChangeset: true, result: currentBuild.currentResult, title: currentBuild.fullProjectName, webhookURL: env.discordwebhook
} }
} }
}
} }