From: Aric Gardner Date: Tue, 2 Oct 2018 20:49:38 +0000 (-0400) Subject: Skip vote for releng-rtd from gerrit trigger X-Git-Tag: v0.26.0~9 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F12861%2F3;p=releng%2Fglobal-jjb.git Skip vote for releng-rtd from gerrit trigger There should be an easy way to set jobs coming from global jjb to be non-voting. I would like to add the rtd job as non voting first and then after some time switch it to voting. Change-Id: Id96886973c180e47f79c0550f8c35749715617a3 Jira: RELENG-1294 Signed-off-by: Aric Gardner --- diff --git a/docs/jjb/lf-rtd-jobs.rst b/docs/jjb/lf-rtd-jobs.rst index ca0aac2e..b21cee6e 100644 --- a/docs/jjb/lf-rtd-jobs.rst +++ b/docs/jjb/lf-rtd-jobs.rst @@ -118,6 +118,7 @@ Verify job which runs a tox build of the docs project :build-timeout: Timeout in minutes before aborting build. (default: 15) :doc-dir: Directory where tox will place built docs. as defined in the tox.ini (default: docs/_build/html) + :gerrit-skip-vote: Skip voting for this job. (default: false) :git-url: URL clone project from. (default: $GIT_URL/$PROJECT) :project-pattern: Project to trigger build against. (default: \*\*) :stream: Keyword representing a release code-name. diff --git a/jjb/lf-rtd-jobs.yaml b/jjb/lf-rtd-jobs.yaml index acc23896..0f4aa8ba 100644 --- a/jjb/lf-rtd-jobs.yaml +++ b/jjb/lf-rtd-jobs.yaml @@ -165,6 +165,7 @@ project-pattern: '**' stream: master submodule-recursive: true + gerrit-skip-vote: false gerrit_verify_triggers: - patchset-created-event: @@ -214,6 +215,11 @@ - branch-compare-type: 'ANT' branch-pattern: '**/{branch}' file-paths: '{obj:gerrit_trigger_file_paths}' + skip-vote: + successful: '{gerrit-skip-vote}' + failed: '{gerrit-skip-vote}' + unstable: '{gerrit-skip-vote}' + notbuilt: '{gerrit-skip-vote}' - job-template: name: '{project-name}-rtd-verify-{stream}'