larroy commented on a change in pull request #12000: Redesign Jenkinsfiles
URL: https://github.com/apache/incubator-mxnet/pull/12000#discussion_r207958241
##########
File path: ci/Jenkinsfile_docker_cache
##########
@@ -22,34 +22,18 @@
// timeout in minutes
total_timeout = 300
-git_timeout = 15
-// assign any caught errors here
-err = null
-// initialize source codes
-def init_git() {
- deleteDir()
- retry(5) {
- try {
- // Make sure wait long enough for api.github.com request quota.
Important: Don't increase the amount of
- // retries as this will increase the amount of requests and worsen the
throttling
- timeout(time: git_timeout, unit: 'MINUTES') {
- checkout scm
- sh 'git submodule update --init --recursive'
- sh 'git clean -x -d -f'
- }
- } catch (exc) {
- deleteDir()
- error "Failed to fetch source codes with ${exc}"
- sleep 2
- }
- }
+node('restricted-mxnetlinux-cpu') {
Review comment:
this is inconsistent with the constant labels style from the other files,
why?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services