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

Fix error in try/finally block for blc #12561

Merged

Conversation

sandeep-krishnamurthy
Copy link
Contributor

Description

This fixes an issue introduced in this PR - #12507 for broken link checker.
"finally" block was removed because regression checks were removed. but, I had missed to remove "try" block.
Fails with this error - http://jenkins.mxnet-ci.amazon-ml.com/job/Broken_Link_Checker_Pipeline/310/console

Checklist

Essentials

Please feel free to remove inapplicable items for your PR.

  • Changes are complete (i.e. I finished coding on this PR)
  • Code is well-documented:

@lebeg

@@ -32,10 +32,8 @@ core_logic: {
node(NODE_LINUX_CPU) {
ws('workspace/brokenLinkChecker') {
timeout(time: 60, unit: 'MINUTES') {
try {
utils.init_git()
utils.docker_run('ubuntu_blc', 'broken_link_checker', false)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, shouldn't we catch and log here instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lebeg - Added the catch block.

@kalyc
Copy link
Contributor

kalyc commented Sep 14, 2018

Thanks for your contribution @sandeep-krishnamurthy
@mxnet-label-bot[pr-awaiting-merge]

@marcoabreu marcoabreu added the pr-awaiting-merge Review and CI is complete. Ready to Merge label Sep 14, 2018
@sandeep-krishnamurthy sandeep-krishnamurthy merged commit e213286 into apache:master Sep 14, 2018
anirudh2290 pushed a commit to anirudh2290/mxnet that referenced this pull request Sep 19, 2018
* Fix error in try/finally block for blc

* Add catch block for BLC
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
pr-awaiting-merge Review and CI is complete. Ready to Merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants