Skip to content

Commit

Permalink
Set docs jenkins job to treat warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalmage committed Nov 14, 2018
1 parent 8ed2f7b commit 5e734c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/docs
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
}
Expand All @@ -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})"
}
}
Expand Down

0 comments on commit 5e734c4

Please sign in to comment.