From 2c590322fdf27de008aae9fc98c405eaf2f27b1c Mon Sep 17 00:00:00 2001 From: Sijie Guo Date: Wed, 12 Dec 2018 09:13:19 +0800 Subject: [PATCH] [CI] Update precommit job captions with trigger phrase Descriptions of the changes in this PR: *Motivation* Sometime people don't know how to retrigger a bookkeeper precommit job. *Changes* This PR is adding the trigger phrase to the job caption. so people will know how to retrigger the jobs in the PR itself. Reviewers: Enrico Olivelli This closes #1881 from sijie/update_jenkins_for_self_instructions --- .../jenkins/job_bookkeeper_precommit_bookie_tests.groovy | 2 +- .../jenkins/job_bookkeeper_precommit_client_tests.groovy | 2 +- .../jenkins/job_bookkeeper_precommit_integrationtests.groovy | 2 +- .test-infra/jenkins/job_bookkeeper_precommit_java8.groovy | 2 +- .test-infra/jenkins/job_bookkeeper_precommit_java9.groovy | 2 +- .../jenkins/job_bookkeeper_precommit_remaining_tests.groovy | 2 +- .../jenkins/job_bookkeeper_precommit_replication_tests.groovy | 2 +- .test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy | 2 +- .test-infra/jenkins/job_bookkeeper_precommit_validation.groovy | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy index 8f8e5ae5017..f25cdd5004f 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_bookie_tests.groovy @@ -40,7 +40,7 @@ freeStyleJob('bookkeeper_precommit_bookie_tests') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'Bookie Tests', + 'Bookie Tests (trigger via `run bookkeeper-server bookie tests`)', '.*(re)?run bookkeeper-server (bookie )?tests.*', '.*\\[x\\] \\[skip bookkeeper-server (bookie )?tests\\].*', true) diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy index 9240099ae59..03e26365eab 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_client_tests.groovy @@ -40,7 +40,7 @@ freeStyleJob('bookkeeper_precommit_client_tests') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'Client Tests', + 'Client Tests (trigger via `run bookkeeper-server client tests`)', '.*(re)?run bookkeeper-server (client )?tests.*', '.*\\[x\\] \\[skip bookkeeper-server (client )?tests\\].*', true) diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_integrationtests.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_integrationtests.groovy index cda3d9be027..0fa3ddfbfdb 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_integrationtests.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_integrationtests.groovy @@ -42,7 +42,7 @@ freeStyleJob('bookkeeper_precommit_integrationtests') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'Integration Tests', + 'Integration Tests (trigger via `run integration tests`)', '.*(re)?run integration tests.*', '.*\\[x\\] \\[skip integration tests\\].*') diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy index 6a888fdbe06..19b6b956680 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_java8.groovy @@ -49,7 +49,7 @@ mavenJob('bookkeeper_precommit_pullrequest_java8') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'Build (Java 8)', + 'Build (Java 8) (trigger via `rebuild java8`)', '.*(re)?build java8.*', '.*\\[x\\] \\[skip build java8\\].*') diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_java9.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_java9.groovy index 6b02857bb94..268d829d5d5 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_java9.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_java9.groovy @@ -49,7 +49,7 @@ mavenJob('bookkeeper_precommit_pullrequest_java9') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'Build (Java 9)', + 'Build (Java 9) (trigger via `rebuild java9`)', '.*(re)?build java9.*', '.*\\[x\\] \\[skip build java9\\].*') diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy index f3f560393da..d713145e1a0 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_remaining_tests.groovy @@ -44,7 +44,7 @@ freeStyleJob('bookkeeper_precommit_remaining_tests') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'All Other Tests', + 'All Other Tests (trigger via `run bookkeeper-server remaining tests`)', '.*(re)?run bookkeeper-server (remaining )?tests.*', '.*\\[x\\] \\[skip bookkeeper-server (remaining )?tests\\].*', true) diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy index 21342800582..8d4a2ff12a3 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_replication_tests.groovy @@ -40,7 +40,7 @@ freeStyleJob('bookkeeper_precommit_replication_tests') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'Replication Tests', + 'Replication Tests (trigger via `run bookkeeper-server replication tests`)', '.*(re)?run bookkeeper-server (replication )?tests.*', '.*\\[x\\] \\[skip bookkeeper-server (replication )?tests\\].*', true) diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy index af0038d4cf2..071bd1114a1 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_tls_tests.groovy @@ -40,7 +40,7 @@ freeStyleJob('bookkeeper_precommit_tls_tests') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'TLS Tests', + 'TLS Tests (trigger via `run bookkeeper-server tls tests`)', '.*(re)?run bookkeeper-server (tls )?tests.*', '.*\\[x\\] \\[skip bookkeeper-server (tls )?tests\\].*', true) diff --git a/.test-infra/jenkins/job_bookkeeper_precommit_validation.groovy b/.test-infra/jenkins/job_bookkeeper_precommit_validation.groovy index e9336e070fc..e7e75aada62 100644 --- a/.test-infra/jenkins/job_bookkeeper_precommit_validation.groovy +++ b/.test-infra/jenkins/job_bookkeeper_precommit_validation.groovy @@ -40,7 +40,7 @@ mavenJob('bookkeeper_precommit_pullrequest_validation') { // Sets that this is a PreCommit job. common_job_properties.setPreCommit( delegate, - 'PR Validation', + 'PR Validation (trigger via `run pr validation`)', '.*(re)?run pr validation.*', '', true)