Skip to content

Commit

Permalink
Merge pull request apache#15 from ThomasDelteil/new_website_pipeline_…
Browse files Browse the repository at this point in the history
…2_restricted

use restricted nodes for publish job
  • Loading branch information
ThomasDelteil committed Sep 13, 2019
2 parents cbaf694 + 7b2ca62 commit 67036fe
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1608,19 +1608,14 @@ def docs_archive() {
// This is for the full website
def docs_publish() {
return ['Publish the full website': {
node(NODE_LINUX_CPU) {
node('restricted-mxnetlinux-cpu') {
ws('workspace/docs') {
timeout(time: max_time, unit: 'MINUTES') {
//utils.init_git()
// If used stashed files, you can retrieve them here
//unstash 'full_website'
//sh 'tar -xzf docs/_build/full_website.tgz --directory .'
// TODO: Make sure this 'test-website-publish' understand the new structure
try {
build 'website-publish-master'
}
catch (Exception e) {
println(e.getMessage())
}
// This jenkins job pulls artifacts from website-build-master
build 'restricted-website-publish-master'
}
}
}
Expand Down

0 comments on commit 67036fe

Please sign in to comment.