- lf-infra-jjbini
- shell: !include-raw-escape:
- ../shell/jjb-verify-job.sh
- - lf-infra-gpg-verify-git-signature
+
+ # All jobs are triggering from the same source
+ triggers:
+ - gerrit:
+ server-name: "lf-releng"
+ trigger-on:
+ - patchset-created-event:
+ exclude-drafts: true
+ exclude-trivial-rebase: false
+ exclude-no-code-change: false
+ - draft-published-event
+ - comment-added-contains-event:
+ comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
+ projects:
+ - project-compare-type: ANT
+ project-pattern: "releng/global-jjb"
+ branches:
+ - branch-compare-type: ANT
+ branch-pattern: "**/master"
+ override-votes: true
+ gerrit-build-failed-codereview-value: -1
+ gerrit-build-failed-verified-value: 0
+ gerrit-build-successful-codereview-value: 1
+ gerrit-build-successful-verified-value: 0
- job-template:
name: "{project-name}-jjb-verify-upstream-gjjb"
choosing-strategy: default
jenkins-ssh-credential: "{jenkins-ssh-credential}"
- triggers:
- - gerrit:
- server-name: "LinuxFoundation"
- trigger-on:
- - patchset-created-event:
- exclude-drafts: true
- exclude-trivial-rebase: false
- exclude-no-code-change: false
- - draft-published-event
- - comment-added-contains-event:
- comment-contains-value: '^Patch Set\s+\d+:\s+(recheck|reverify)\s*$'
- projects:
- - project-compare-type: ANT
- project-pattern: "releng/global-jjb"
- branches:
- - branch-compare-type: ANT
- branch-pattern: "**/master"
- override-votes: true
- gerrit-build-failed-codereview-value: -1
- gerrit-build-failed-verified-value: 0
- gerrit-build-successful-codereview-value: 1
- gerrit-build-successful-verified-value: 0
+- job-template:
+ name: "{project-name}-jjb-verify-upstream-gjjb"
+ id: github-jjb-verify-upstream-gjjb
+ <<: *lf_jjb_common
+ # yamllint disable-line rule:key-duplicates
+ <<: *lf_jjb_verify_upstream_gjjb
+
+ ######################
+ # Default parameters #
+ ######################
+
+ git-url: "$GIT_URL/$PROJECT"
+ submodule-timeout: 10
+ submodule-disable: false
+
+ #####################
+ # Job Configuration #
+ #####################
+
+ properties:
+ - lf-infra-properties:
+ project: "{project}"
+ build-days-to-keep: 7
+ - github:
+ url: "{github-url}/{github-org}/{project}"
+
+ scm:
+ - lf-infra-github-scm:
+ url: "{git-clone-url}{github-org}/{project}"
+ refspec: "+refs/pull/*:refs/remotes/origin/pr/*"
+ branch: "$sha1"
+ submodule-recursive: "{submodule-recursive}"
+ submodule-timeout: "{submodule-timeout}"
+ submodule-disable: "{submodule-disable}"
+ choosing-strategy: default
+ jenkins-ssh-credential: "{jenkins-ssh-credential}"
#################
# License Check #