piyushghai commented on a change in pull request #13450: [WIP][MXNET-862] Basic maven jenkins pipeline URL: https://github.com/apache/incubator-mxnet/pull/13450#discussion_r238771861
########## File path: ci/Jenkinsfile_utils.groovy ########## @@ -18,18 +18,23 @@ // under the License. // initialize source codes -def init_git() { +// Clean - 0: None, 1: xdf, 2: xdff +def init_git(clean=2) { 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: 15, unit: 'MINUTES') { checkout scm - sh 'git clean -xdff' + if(clean == 1) + clean = 'git clean -xdf' + else if(clean == 2) + clean = 'git clean -xdff' Review comment: Is there a difference between the ```clean``` command in clean == 1 and clean == 2 ? ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services