mirror of https://github.com/milvus-io/milvus.git
Don't skip ci when triggered by a time (#1113)
* run hadolint with reviewdog * add LINCENSE in Dockerfile * run hadolint with reviewdog * Reporter of reviewdog command is "github-pr-check" * format Dockerfile * ignore DL3007 in hadolint * clean up old docker images * Add GPU sharing solution on native Kubernetes * nightly test mailer * Filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Test filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Filtering for specific paths in Jenkins CI * Don't skip ci when triggered by a time * Don't skip ci when triggered by a timepull/1138/head
parent
178c2d9276
commit
fa2c893901
|
@ -67,6 +67,7 @@ pipeline {
|
|||
when {
|
||||
allOf {
|
||||
anyOf {
|
||||
expression { isEmptyChangelog() == true }
|
||||
changeset 'ci/**'
|
||||
changeset 'core/**'
|
||||
changeset 'docker/**'
|
||||
|
@ -128,6 +129,7 @@ pipeline {
|
|||
when {
|
||||
allOf {
|
||||
anyOf {
|
||||
expression { isEmptyChangelog() == true }
|
||||
changeset 'ci/**'
|
||||
changeset 'core/**'
|
||||
changeset 'docker/**'
|
||||
|
@ -165,6 +167,7 @@ pipeline {
|
|||
when {
|
||||
allOf {
|
||||
anyOf {
|
||||
expression { isEmptyChangelog() == true }
|
||||
changeset 'ci/**'
|
||||
changeset 'core/**'
|
||||
changeset 'docker/**'
|
||||
|
@ -254,6 +257,13 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
boolean isEmptyChangelog() {
|
||||
if (currentBuild.changeSets.size() == 0) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
boolean isTimeTriggeredBuild() {
|
||||
if (currentBuild.getBuildCauses('hudson.triggers.TimerTrigger$TimerTriggerCause').size() != 0) {
|
||||
return true
|
||||
|
|
Loading…
Reference in New Issue