Update 'Jenkinsfile'
All checks were successful
Plugins/ThemeParkPlus/pipeline/head This commit looks good
All checks were successful
Plugins/ThemeParkPlus/pipeline/head This commit looks good
This commit is contained in:
parent
fb4a607e18
commit
84d190a315
1 changed files with 1 additions and 9 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -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,
|
||||||
|
|
Reference in a new issue