You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2018/05/31 14:45:20 UTC
[incubator-mxnet] branch master updated: migrating website build to
secure nodes (#11066)
This is an automated email from the ASF dual-hosted git repository.
marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git
The following commit(s) were added to refs/heads/master by this push:
new d6f9cd8 migrating website build to secure nodes (#11066)
d6f9cd8 is described below
commit d6f9cd8f725a08d325b0c308927fda4b83168b51
Author: Aaron Markham <ma...@amazon.com>
AuthorDate: Thu May 31 07:45:14 2018 -0700
migrating website build to secure nodes (#11066)
---
docs/Jenkinsfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/Jenkinsfile b/docs/Jenkinsfile
index acdd29d..618511b 100644
--- a/docs/Jenkinsfile
+++ b/docs/Jenkinsfile
@@ -47,13 +47,13 @@ def init_git() {
try {
stage('Build Docs') {
- node('mxnetlinux-cpu') {
+ node('restricted-mxnetlinux-cpu') {
ws('workspace/docs') {
init_git()
timeout(time: max_time, unit: 'MINUTES') {
sh "ci/build.py -p ubuntu_cpu /work/runtime_functions.sh build_docs ${params.tags_to_build} ${params.tag_list} ${params.tag_default} ${params.domain}"
archiveArtifacts 'docs/build_version_doc/artifacts.tgz'
- build 'website build - test publish'
+ build 'restricted-website-publish'
}
}
}
@@ -62,13 +62,13 @@ try {
// set build status to success at the end
currentBuild.result = "SUCCESS"
} catch (caughtError) {
- node("mxnetlinux-cpu") {
+ node("restricted-mxnetlinux-cpu") {
sh "echo caught ${caughtError}"
err = caughtError
currentBuild.result = "FAILURE"
}
} finally {
- node("mxnetlinux-cpu") {
+ node("restricted-mxnetlinux-cpu") {
// Only send email if master failed
if (currentBuild.result == "FAILURE" && env.BRANCH_NAME == "master") {
emailext body: 'Build for MXNet branch ${BRANCH_NAME} has broken. Please view the build at ${BUILD_URL}', replyTo: '${EMAIL}', subject: '[BUILD FAILED] Branch ${BRANCH_NAME} build ${BUILD_NUMBER}', to: '${EMAIL}'
--
To stop receiving notification emails like this one, please contact
marcoabreu@apache.org.