mirror of https://github.com/milvus-io/milvus.git
[skip ci] add ci param (#2571)
* [skip ci] remove timeout in partition-test case Signed-off-by: zw <zw@milvus.io> * Update server_versiong Signed-off-by: zw <zw@milvus.io> * fix client_test.go Signed-off-by: zw <zw@milvus.io> * Add ci param is_manual_trigger Signed-off-by: zw <zw@milvus.io> * update ci param Signed-off-by: zw <zw@milvus.io> Co-authored-by: zw <zw@milvus.io>pull/2573/head
parent
db9e04be59
commit
d5d24f3d9a
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue