Skip to content

Commit

Permalink
fix syntax error... hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmarkham committed Sep 17, 2019
1 parent b88a0b4 commit 6b3640e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ci/jenkins/Jenkins_steps.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -1420,7 +1420,7 @@ def docs_python() {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('libmxnet', mx_lib, false)
utils.docker_run('ubuntu_cpu_python', 'build_python_docs', false)
if (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("new_")) {
if (env.BRANCH_NAME == master || env.BRANCH_NAME == "new_website_pipeline_2") {
utils.pack_lib('python-artifacts', 'docs/_build/python-artifacts.tgz', false)
}
}
Expand All @@ -1438,7 +1438,7 @@ def docs_c() {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('libmxnet', 'lib/libmxnet.so', false)
utils.docker_run('ubuntu_cpu_c', 'build_c_docs', false)
if (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("new_")) {
if (env.BRANCH_NAME == master || env.BRANCH_NAME == "new_website_pipeline_2") {
utils.pack_lib('c-artifacts', 'docs/_build/c-artifacts.tgz', false)
}
}
Expand All @@ -1456,7 +1456,7 @@ def docs_julia() {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('libmxnet', mx_lib, false)
utils.docker_run('ubuntu_cpu_julia', 'build_julia_docs', false)
if (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("new_")) {
if (env.BRANCH_NAME == master || env.BRANCH_NAME == "new_website_pipeline_2") {
utils.pack_lib('julia-artifacts', 'docs/_build/julia-artifacts.tgz', false)
}
}
Expand All @@ -1474,7 +1474,7 @@ def docs_r() {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('libmxnet', mx_lib, false)
utils.docker_run('ubuntu_cpu_r', 'build_r_docs', false)
if (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("new_")) {
if (env.BRANCH_NAME == master || env.BRANCH_NAME == "new_website_pipeline_2") {
utils.pack_lib('r-artifacts', 'docs/_build/r-artifacts.tgz', false)
}
}
Expand All @@ -1493,7 +1493,7 @@ def docs_scala() {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('libmxnet', mx_lib, false)
utils.docker_run('ubuntu_cpu_scala', 'build_scala_docs', false)
if (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("new_")) {
if (env.BRANCH_NAME == master || env.BRANCH_NAME == "new_website_pipeline_2") {
utils.pack_lib('scala-artifacts', 'docs/_build/scala-artifacts.tgz', false)
}
}
Expand All @@ -1512,7 +1512,7 @@ def docs_java() {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('libmxnet', mx_lib, false)
utils.docker_run('ubuntu_cpu_scala', 'build_java_docs', false)
if (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("new_")) {
if (env.BRANCH_NAME == master || env.BRANCH_NAME == "new_website_pipeline_2") {
utils.pack_lib('java-artifacts', 'docs/_build/java-artifacts.tgz', false)
}
}
Expand All @@ -1531,7 +1531,7 @@ def docs_clojure() {
timeout(time: max_time, unit: 'MINUTES') {
utils.unpack_and_init('libmxnet', mx_lib, false)
utils.docker_run('ubuntu_cpu_scala', 'build_clojure_docs', false)
if (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("new_")) {
if (env.BRANCH_NAME == master || env.BRANCH_NAME == "new_website_pipeline_2") {
utils.pack_lib('clojure-artifacts', 'docs/_build/clojure-artifacts.tgz', false)
}
}
Expand All @@ -1549,7 +1549,7 @@ def docs_jekyll() {
timeout(time: max_time, unit: 'MINUTES') {
utils.init_git()
utils.docker_run('ubuntu_cpu_jekyll', 'build_jekyll_docs', false)
if (env.BRANCH_NAME == "master" || env.BRANCH_NAME.startsWith("new_")) {
if (env.BRANCH_NAME == master || env.BRANCH_NAME == "new_website_pipeline_2") {
utils.pack_lib('jekyll-artifacts', 'docs/_build/jekyll-artifacts.tgz', false)
}
}
Expand Down

0 comments on commit 6b3640e

Please sign in to comment.