mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 07:34:35 +02:00
fix(secu): add SQ pipeline timeout (#3371)
This commit is contained in:
parent
645f342ee5
commit
d95fd527fa
2
centreon-plugins/Jenkinsfile
vendored
2
centreon-plugins/Jenkinsfile
vendored
@ -20,12 +20,14 @@ stage('Source') {
|
||||
withSonarQubeEnv('SonarQubeDev') {
|
||||
sh './centreon-build/jobs/plugins/plugins-analysis.sh'
|
||||
}
|
||||
timeout(time: 10, unit: 'MINUTES') {
|
||||
def qualityGate = waitForQualityGate()
|
||||
if (qualityGate.status != 'OK') {
|
||||
currentBuild.result = 'FAIL'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
stage('RPM Packaging') {
|
||||
parallel 'all': {
|
||||
|
Loading…
x
Reference in New Issue
Block a user