Intergrate internal FAISS

pull/594/head
quicksilver 2019-11-28 16:03:06 +08:00
parent bb0fd64551
commit 5c95d560a5
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ pipeline {
environment {
PROJECT_NAME = "milvus"
LOWER_BUILD_TYPE = params.BUILD_TYPE.toLowerCase()
SEMVER = BRANCH_NAME.substring(BRANCH_NAME.lastIndexOf("/") + 1)
SEMVER = BRANCH_NAME.contains("/") ? BRANCH_NAME.substring(BRANCH_NAME.lastIndexOf("/") + 1) : "${BRANCH_NAME}"
PIPELINE_NAME = env.JOB_NAME.getAt(0..(env.JOB_NAME.indexOf("/") - 1))
}