X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-rtd-jobs.yaml;h=cb044d9b9fc599bd17540df7c60bc514b3d80d5b;hb=refs%2Fchanges%2F39%2F12039%2F4;hp=d8d757f3ff017c065ae6232e07fd092fa6301917;hpb=7481ff9faf394dc6c023b2f0d7a635f24fdbb499;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-rtd-jobs.yaml b/jjb/lf-rtd-jobs.yaml index d8d757f3..cb044d9b 100644 --- a/jjb/lf-rtd-jobs.yaml +++ b/jjb/lf-rtd-jobs.yaml @@ -23,17 +23,23 @@ ###################### # Default parameters # ###################### - rtd-project: '' - rtd-build-url: '' - global-settings-file: '$WORKSPACE/settings.xml' - rtd-server-id: '' - gerrit_trigger_file_paths: - - compare-type: ANT - pattern: '**/*.rst' - - compare-type: ANT - pattern: '**/conf.py' + - compare-type: REG_EXP + pattern: '.*\.css' + - compare-type: REG_EXP + pattern: '.*\.html' + - compare-type: REG_EXP + pattern: '.*\.rst' + - compare-type: REG_EXP + pattern: '.*\/conf.py' + + # github_included_regions MUST match gerrit_trigger_file_paths + github_included_regions: + - '.*\.css' + - '.*\.html' + - '.*\.rst' + - '.*\/conf.py' ##################### # Job Configuration # @@ -77,6 +83,7 @@ build-days-to-keep: 7 build-timeout: 15 git-url: https://github.com + github-url: 'https://github.com' project-pattern: '**' stream: master submodule-recursive: true @@ -92,10 +99,8 @@ builders: - lf-rtd-trigger-build: - rtd-project: '{rtd-project}' rtd-build-url: '{rtd-build-url}' - global-settings-file: '{global-settings-file}' - rtd-server-id: '{rtd-server-id}' + rtd-token: '{rtd-token}' - job-template: name: '{project-name}-rtd-merge-{stream}' @@ -124,22 +129,27 @@ <<: *lf_rtd_merge properties: + - lf-infra-properties: + build-days-to-keep: '{build-days-to-keep}' - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' triggers: - - lf-infra-github-pr-trigger: + - timed: 'H H * * *' + - github + - pollscm: + cron: '' + - github-pull-request: trigger-phrase: '^remerge$' - only-trigger-phrase: false + only-trigger-phrase: true status-context: 'RTD Merge' - permit-all: true + permit-all: false github-hooks: true - github-org: '' - github_pr_whitelist: - - '' - github_pr_admin_list: - - '' - - timed: 'H H * * *' + org-list: + - '{github-org}' + white-list: '{obj:github_pr_whitelist}' + admin-list: '{obj:github_pr_admin_list}' + included-regions: '{obj:github_included_regions}' ############# # RTD VERIFY# @@ -157,6 +167,7 @@ build-timeout: 15 doc-dir: docs/_build/html git-url: '$GIT_URL/$PROJECT' + github-url: 'https://github.com' project-pattern: '**' stream: master submodule-recursive: true @@ -168,7 +179,7 @@ exclude-no-code-change: false - draft-published-event - comment-added-contains-event: - comment-contains-value: recheck$ + comment-contains-value: '^Patch Set[ ]+[0-9]+:([ ]+|[\n]+)(recheck|reverify)$' ##################### # Job Configuration # @@ -216,8 +227,10 @@ <<: *lf_rtd_verify properties: + - lf-infra-properties: + build-days-to-keep: '{build-days-to-keep}' - github: - url: '{git-url}/{github-org}/{project}' + url: '{github-url}/{github-org}/{project}' scm: - lf-infra-github-scm: @@ -229,14 +242,10 @@ jenkins-ssh-credential: '{jenkins-ssh-credential}' triggers: - - lf-infra-github-pr-trigger: - trigger-phrase: '^recheck$' + - github-pull-request: + trigger-phrase: '^(recheck|reverify)$' only-trigger-phrase: false status-context: 'RTD Verify' permit-all: true github-hooks: true - github-org: '' - github_pr_whitelist: - - '' - github_pr_admin_list: - - '' + included-regions: '{obj:github_included_regions}'