Fixing Jenkinsfile

master
valentin_lechner 5 years ago
parent 03ed30acf3
commit 13dad459ba

@ -1,6 +0,0 @@
projectKey=8008135-dev
serverUrl=http://localhost:9000
serverVersion=7.9.2.30863
dashboardUrl=http://localhost:9000/dashboard?id=8008135-dev
ceTaskId=AW_3GjJbtzrbd5O-L5Zw
ceTaskUrl=http://localhost:9000/api/ce/task?id=AW_3GjJbtzrbd5O-L5Zw

15
Jenkinsfile vendored

@ -8,15 +8,16 @@ pipeline {
checkout scm checkout scm
} }
stage ('compile') { stage ('compile') {
sh 'make' sh 'make'
} }
stage ('deploySONAR') { stage ('deploySONAR') {
sh 'sonar-scanner' sh 'sonar-scanner'
} }
}
} }
post { post {
unstable { unstable {
script { script {
notifier.sendMail("CI Build Job ${env.JOB_NAME} [${env.BUILD_NUMBER}] is unstable, please fix it in the near future", "**/*.log") notifier.sendMail("CI Build Job ${env.JOB_NAME} [${env.BUILD_NUMBER}] is unstable, please fix it in the near future", "**/*.log")

Loading…
Cancel
Save