Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
centreon
centreon-widget-global-health
Commits
81414b53
Commit
81414b53
authored
Jan 05, 2022
by
sc979
Committed by
schapron
Jan 05, 2022
Browse files
fix(secu): add SQ pipeline timeout (#48)
parent
084e3e79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
81414b53
...
...
@@ -116,9 +116,11 @@ try {
withSonarQubeEnv
(
'SonarQubeDev'
)
{
sh
"./centreon-build/jobs/widgets/${serie}/widget-analysis.sh"
}
def
qualityGate
=
waitForQualityGate
()
if
(
qualityGate
.
status
!=
'OK'
)
{
currentBuild
.
result
=
'FAIL'
timeout
(
time:
10
,
unit:
'MINUTES'
)
{
def
qualityGate
=
waitForQualityGate
()
if
(
qualityGate
.
status
!=
'OK'
)
{
currentBuild
.
result
=
'FAIL'
}
}
}
},
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment