X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-python-jobs.yaml;h=904a3f1638d912af61121fc2727c15a468df1be5;hb=refs%2Ftags%2Fv0.10.2;hp=005f99f76ac03206d55e7f63594fb17a0bc9863e;hpb=1a6e7517159bcb5902f3fce68a763f44a7048aea;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-python-jobs.yaml b/jjb/lf-python-jobs.yaml index 005f99f7..904a3f16 100644 --- a/jjb/lf-python-jobs.yaml +++ b/jjb/lf-python-jobs.yaml @@ -24,20 +24,38 @@ - lf_tox_verify: &lf_tox_verify name: lf-tox-verify - # Required Variables: - # branch: git branch (default: master) - # tox-dir: directory containing the project's tox.ini relative to - # the workspace. Empty works if tox.ini is at project root. - - project-type: freestyle - node: '{build-node}' - concurrent: true + # Tox runner to verify a project + # + # Runs tox to verify a project. + # + # Required Parameters: + # + # :build-node: The node to run build on. + # :jenkins-ssh-credential: Credential to use for SSH. (Generally should + # be configured in defaults.yaml) + # + # Optional Parameters: + # + # :branch: The branch to build against. (default: master) + # :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7) + # :build-timeout: Timeout in seconds before aborting build. (default: 10) + # :git-url: URL clone project from. (default: $GIT_URL/$PROJECT) + # :stream: Keyword that can be used to represent a release code-name. + # Often the same as the branch. (default: master) + # :submodule-recursive: Whether to checkout submodules recursively. + # (default: true) + # :tox-dir: Directory containing the project's tox.ini relative to + # the workspace. Empty works if tox.ini is at project root. + # (default: '') + # :tox-envs: Tox environments to run. If blank run everything described + # in tox.ini. (default: '') ###################### # Default parameters # ###################### branch: master + build-days-to-keep: 7 build-timeout: 10 git-url: '$GIT_URL/$GERRIT_PROJECT' stream: master @@ -49,9 +67,13 @@ # Job Configuration # ##################### + project-type: freestyle + node: '{build-node}' + concurrent: true + properties: - lf-infra-properties: - build-days-to-keep: 7 + build-days-to-keep: '{build-days-to-keep}' parameters: - lf-infra-parameters: @@ -93,7 +115,7 @@ gerrit_verify_triggers: - patchset-created-event: - exclude-drafts: false + exclude-drafts: true exclude-trivial-rebase: false exclude-no-code-change: false - draft-published-event