X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=docs%2Fjjb%2Flf-pipeline-jobs.rst;fp=docs%2Fjjb%2Flf-pipeline-jobs.rst;h=18375f81c84f67013764e1f327d4d0fe468b151b;hb=b9bf2930c67afd6ba69c1be0f672c0a21de34303;hp=0000000000000000000000000000000000000000;hpb=91393ce9ad627b70a356e9e740d7958893aedd2f;p=releng%2Fglobal-jjb.git diff --git a/docs/jjb/lf-pipeline-jobs.rst b/docs/jjb/lf-pipeline-jobs.rst new file mode 100644 index 00000000..18375f81 --- /dev/null +++ b/docs/jjb/lf-pipeline-jobs.rst @@ -0,0 +1,62 @@ +.. _lf-global-jjb-pipeline-jobs: + +############# +Pipeline Jobs +############# + + +Macros +====== + +lf-pipeline-common +------------------ + +Common definitions for use within all pipeline jobs. + + +Job Templates +============= + +Pipeline Verify +--------------- + +Verify job that checks a Jenkins pipeline by linting it and ensuring that it +cannot run on the master. + +:Template Names: + - {project-name}-pipeline-verify-{stream} + - gerrit-pipeline-verify + - github-pipeline-verify + +:Comment Trigger: recheck|reverify + +:Required Parameters: + + :build-node: The node to run build on. + :jenkins-ssh-credential: Credential to use for SSH. (Generally set + in defaults.yaml) + +:Optional Parameters: + + :branch: Git branch to fetch for the build. (default: master) + :build-days-to-keep: Days to keep build logs in Jenkins. (default: 7) + :build-node: The node to run build on. + :build-timeout: Timeout in minutes before aborting build. (default: 15) + :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. + Often the same as the branch. (default: master) + :submodule-recursive: Whether to checkout submodules recursively. + (default: true) + :submodule-timeout: Timeout (in minutes) for checkout operation. + (default: 10) + :submodule-disable: Disable submodule checkout operation. + (default: false) + + :gerrit_verify_triggers: Override Gerrit Triggers. + :gerrit_trigger_file_paths: Override file paths filter which checks which + file modifications will trigger a build. + **default**:: + + - compare-type: REG_EXP + pattern: "Jenkinsfile.*"