Fixing Jenkinsfile
This commit is contained in:
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
|
17
Jenkinsfile
vendored
17
Jenkinsfile
vendored
@ -8,15 +8,16 @@ pipeline {
|
||||
checkout scm
|
||||
}
|
||||
|
||||
stage ('compile') {
|
||||
sh 'make'
|
||||
}
|
||||
stage ('compile') {
|
||||
sh 'make'
|
||||
}
|
||||
|
||||
stage ('deploySONAR') {
|
||||
sh 'sonar-scanner'
|
||||
}
|
||||
stage ('deploySONAR') {
|
||||
sh 'sonar-scanner'
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
post {
|
||||
unstable {
|
||||
script {
|
||||
notifier.sendMail("CI Build Job ${env.JOB_NAME} [${env.BUILD_NUMBER}] is unstable, please fix it in the near future", "**/*.log")
|
||||
@ -33,4 +34,4 @@ pipeline {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user