From d5d24f3d9ae1308c8acc9d983037eebaaef7475e Mon Sep 17 00:00:00 2001 From: del-zhenwu <56623710+del-zhenwu@users.noreply.github.com> Date: Tue, 16 Jun 2020 11:27:39 +0800 Subject: [PATCH] [skip ci] add ci param (#2571) * [skip ci] remove timeout in partition-test case Signed-off-by: zw * Update server_versiong Signed-off-by: zw * fix client_test.go Signed-off-by: zw * Add ci param is_manual_trigger Signed-off-by: zw * update ci param Signed-off-by: zw Co-authored-by: zw --- ci/jenkins/Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/jenkins/Jenkinsfile b/ci/jenkins/Jenkinsfile index 59a40bbf..90b5e836 100644 --- a/ci/jenkins/Jenkinsfile +++ b/ci/jenkins/Jenkinsfile @@ -17,6 +17,7 @@ pipeline { parameters{ choice choices: ['Release', 'Debug'], description: 'Build Type', name: 'BUILD_TYPE' + choice choices: ['False', 'True'], description: 'Is Manual Trigger Or Not', name: 'IS_MANUAL_TRIGGER_TYPE' string defaultValue: 'registry.zilliz.com', description: 'DOCKER REGISTRY URL', name: 'DOKCER_REGISTRY_URL', trim: true string defaultValue: 'ba070c98-c8cc-4f7c-b657-897715f359fc', description: 'DOCKER CREDENTIALS ID', name: 'DOCKER_CREDENTIALS_ID', trim: true string defaultValue: 'http://192.168.1.201/artifactory/milvus', description: 'JFROG ARTFACTORY URL', name: 'JFROG_ARTFACTORY_URL', trim: true @@ -172,7 +173,7 @@ pipeline { container('milvus-test-env') { script { boolean isNightlyTest = isTimeTriggeredBuild() - if (isNightlyTest) { + if (isNightlyTest || "${params.IS_MANUAL_TRIGGER_TYPE}" == "True") { load "${env.WORKSPACE}/ci/jenkins/step/singleDevNightlyTest.groovy" load "${env.WORKSPACE}/ci/jenkins/step/shardsDevNightlyTest.groovy" } else { @@ -190,7 +191,7 @@ pipeline { script { load "${env.WORKSPACE}/ci/jenkins/step/cleanupSingleDev.groovy" boolean isNightlyTest = isTimeTriggeredBuild() - if (isNightlyTest) { + if (isNightlyTest || "${params.IS_MANUAL_TRIGGER_TYPE}" == "True") { load "${env.WORKSPACE}/ci/jenkins/step/cleanupShardsDev.groovy" } } -- GitLab