Commit 88cbfeed authored by JinHai-CN's avatar JinHai-CN
Browse files

#18 Add all test cases


Former-commit-id: fc18bfc92e20142066d132839a302d664eddb6ea
parent 5af38bd4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-624 - Re-organize project directory for open-source
- MS-635 - Add compile option to support customized faiss
- MS-660 - add ubuntu_build_deps.sh
- \#18 - Add all test cases
	
# Milvus 0.4.0 (2019-09-12)

+4 −0
Original line number Diff line number Diff line
target/
.idea/
test-output/
lib/*
+0 −0

Empty file added.

+10 −0
Original line number Diff line number Diff line
def FileTransfer (sourceFiles, remoteDirectory, remoteIP, protocol = "ftp", makeEmptyDirs = true) {
    if (protocol == "ftp") {
        ftpPublisher masterNodeName: '', paramPublish: [parameterName: ''], alwaysPublishFromMaster: false, continueOnError: false, failOnError: true, publishers: [
            [configName: "${remoteIP}", transfers: [
                [asciiMode: false, cleanRemote: false, excludes: '', flatten: false, makeEmptyDirs: "${makeEmptyDirs}", noDefaultExcludes: false, patternSeparator: '[, ]+', remoteDirectory: "${remoteDirectory}", remoteDirectorySDF: false, removePrefix: '', sourceFiles: "${sourceFiles}"]], usePromotionTimestamp: true, useWorkspaceInPromotion: false, verbose: true
                ]
            ]
    }
}
return this
+13 −0
Original line number Diff line number Diff line
try {
    def result = sh script: "helm status ${env.JOB_NAME}-${env.BUILD_NUMBER}", returnStatus: true
    if (!result) {
        sh "helm del --purge ${env.JOB_NAME}-${env.BUILD_NUMBER}"
    }
} catch (exc) {
    def result = sh script: "helm status ${env.JOB_NAME}-${env.BUILD_NUMBER}", returnStatus: true
    if (!result) {
        sh "helm del --purge ${env.JOB_NAME}-${env.BUILD_NUMBER}"
    }
    throw exc
}
Loading