3
0
Fork 0

Update 'Jenkinsfile'
Some checks failed
Plugins/ThemePark/pipeline/head There was a failure building this commit

This commit is contained in:
Stijn Bannink 2023-03-31 15:06:23 +00:00
parent 09ab47ec7e
commit 612d6287f0

10
Jenkinsfile vendored
View file

@ -15,14 +15,6 @@ pipeline {
archiveArtifacts artifacts: 'target/*.jar' archiveArtifacts artifacts: 'target/*.jar'
} }
} }
stage('SonarQube Analysis') {
steps {
withSonarQubeEnv('sonarqube') {
sh "mvn sonar:sonar -Dsonar.projectKey=${projectTitle}"
}
}
}
} }
post { post {
@ -39,7 +31,7 @@ pipeline {
def discordDescription = "**Status:** ${buildStatus}\n**Changes:**\n${gitChanges}" def discordDescription = "**Status:** ${buildStatus}\n**Changes:**\n${gitChanges}"
discordSend( discordSend(
webhookURL: 'https://discord.com/api/webhooks/1079797247807598644/s57XSXoirtflA66DVVrZDtEHCfmi2XoK-eSRYWMMD5MTcK_W3EFQOCM8SnKSekxrQae_', webhookURL: 'https://discord.com/api/webhooks/1091375346064035980/PRy-w2ZPpYjwYMllnbw6mHD_onFcXSbvq9BYkfP8-mBXi-bB-y1XzJkC4SDwHmffcnjS',
title: discordTitle, title: discordTitle,
description: discordDescription, description: discordDescription,
footer: discordFooter, footer: discordFooter,