Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
add compile_unix_restricted
Browse files Browse the repository at this point in the history
  • Loading branch information
Wei Chu committed Sep 30, 2020
1 parent ce03714 commit 53260f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1426,6 +1426,20 @@ def compile_unix_lite() {
}]
}

def compile_unix_restricted() {
return ['MXNet lib': {
node(NODE_LINUX_CPU) {
ws('workspace/docs') {
timeout(time: max_time, unit: 'MINUTES') {
utils.init_git()
utils.docker_run('ubuntu_cpu', 'build_ubuntu_cpu_docs', false)
utils.pack_lib('libmxnet', 'lib/libmxnet.so', false)
}
}
}
}]
}


def should_pack_website() {
if (env.BRANCH_NAME) {
Expand Down
2 changes: 1 addition & 1 deletion ci/jenkins/Jenkinsfile_website_full
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ utils.assign_node_labels(utility: 'restricted-utility', linux_cpu: 'restricted-m
utils.main_wrapper(
core_logic: {
utils.parallel_stage('Build', [
custom_steps.compile_unix_lite()
custom_steps.compile_unix_restricted()
])

utils.parallel_stage('Build Docs', [
Expand Down

0 comments on commit 53260f9

Please sign in to comment.