mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Set docs jenkins job to treat warnings as errors
This commit is contained in:
parent
e03bdcdc60
commit
870a364a78
1 changed files with 3 additions and 3 deletions
6
.ci/docs
6
.ci/docs
|
@ -29,7 +29,7 @@ pipeline {
|
|||
}
|
||||
stage('build') {
|
||||
steps {
|
||||
sh 'eval "$(pyenv init -)"; make -C doc clean html'
|
||||
sh 'eval "$(pyenv init -)"; make SPHINXOPTS="-W" -C doc clean html'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -48,8 +48,8 @@ pipeline {
|
|||
description: 'The docs job has failed',
|
||||
status: 'FAILURE',
|
||||
context: "jenkins/pr/docs"
|
||||
slackSend channel: "#jenkins-prod-pr",
|
||||
color: '#FF0000',
|
||||
slackSend channel: "#jenkins-prod-pr",
|
||||
color: '#FF0000',
|
||||
message: "FAILED: PR-Job: '${env.JOB_NAME} [${env.BUILD_NUMBER}]' (${env.BUILD_URL})"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue