Skip to content

Commit 4ba73f6

Browse files
committed
Fix syntax
1 parent f62b817 commit 4ba73f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/jenkins/Jenkinsfile_py3-master_gpu_doc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ core_logic: {
7474
--name GluonNLP-${env.BRANCH_NAME}-${env.BUILD_NUMBER} \
7575
--save-path batch/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/docs/examples \
7676
--work-dir . --source-ref refs/pull/${env.CHANGE_ID}/head \
77-
--command \"(python3 docs/md2ipynb.py ${md_file} | tee ${stdout_file}; exit ${PIPESTATUS[0]}) 3>&1 1>&2 2>&3 | tee ${stderr_file}; exit ${PIPESTATUS[0]} \"
77+
--command \"(python3 docs/md2ipynb.py ${md_file} | tee ${stdout_file}; exit $\{PIPESTATUS[0]\}) 3>&1 1>&2 2>&3 | tee ${stderr_file}; exit $\{PIPESTATUS[0]\} \"
7878
BATCH_EXIT_CODE=\$?
7979
8080
aws s3api wait object-exists --bucket gluon-nlp-staging \
@@ -107,7 +107,7 @@ core_logic: {
107107
--name GluonNLP-${env.BRANCH_NAME}-${env.BUILD_NUMBER} \
108108
--save-path batch/${env.BRANCH_NAME}/${env.BUILD_NUMBER}/docs/examples \
109109
--work-dir . --source-ref ${env.BRANCH_NAME} \
110-
--command \"(python3 docs/md2ipynb.py ${md_file} | tee ${stdout_file}; exit ${PIPESTATUS[0]}) 3>&1 1>&2 2>&3 | tee ${stderr_file}; exit ${PIPESTATUS[0]} \"
110+
--command \"(python3 docs/md2ipynb.py ${md_file} | tee ${stdout_file}; exit $\{PIPESTATUS[0]\}) 3>&1 1>&2 2>&3 | tee ${stderr_file}; exit $\{PIPESTATUS[0]\} \"
111111
BATCH_EXIT_CODE=\$?
112112
113113
aws s3api wait object-exists --bucket gluon-nlp-staging \

0 commit comments

Comments
 (0)