X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-ci-jobs.yaml;h=a221135c237b01e6c5da9dcc7e9306140b2896e2;hb=0dd71ddb47d3de38c00a787ad9b0607c48e24012;hp=fb403bc24563107ed0f264e5d87120f24cbc4221;hpb=028eddca973c835b756870b44946a9c60a8439e7;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index fb403bc2..a221135c 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -57,10 +57,11 @@ builders: - lf-infra-jjbini - shell: !include-raw-escape: + - ../shell/git-validate-jira-urls.sh - ../shell/jjb-install.sh - ../shell/jjb-verify-job.sh - ../shell/jjb-check-unicode.sh - - gpg-verify-git-signature + - lf-infra-gpg-verify-git-signature - parameter: name: lf-infra-jjb-parameters @@ -86,6 +87,7 @@ # Default parameters # ###################### + stream: master branch: master submodule-recursive: true @@ -101,6 +103,7 @@ parameters: - lf-infra-parameters: project: '{project}' + stream: '{stream}' branch: '{branch}' - lf-infra-jjb-parameters: jjb-version: '{jjb-version}' @@ -120,13 +123,24 @@ # yamllint disable-line rule:key-duplicates <<: *lf_jjb_merge_builders + ###################### + # Default parameters # + ###################### + + git-url: '$GIT_URL/$GERRIT_PROJECT' + + ##################### + # Job Configuration # + ##################### + scm: - lf-infra-gerrit-scm: - jenkins-ssh-credential: '{jenkins-ssh-credential}' + git-url: '{git-url}' refspec: '' branch: '{branch}' submodule-recursive: '{submodule-recursive}' choosing-strategy: default + jenkins-ssh-credential: '{jenkins-ssh-credential}' triggers: - gerrit: @@ -151,8 +165,19 @@ # yamllint disable-line rule:key-duplicates <<: *lf_jjb_verify_builders + ###################### + # Default parameters # + ###################### + + git-url: '$GIT_URL/$GERRIT_PROJECT' + + ##################### + # Job Configuration # + ##################### + scm: - lf-infra-gerrit-scm: + git-url: '{git-url}' refspec: '$GERRIT_REFSPEC' branch: '$GERRIT_BRANCH' submodule-recursive: '{submodule-recursive}' @@ -185,23 +210,17 @@ # yamllint disable-line rule:key-duplicates <<: *lf_jjb_merge_builders - ###################### - # Default parameters # - ###################### - - github-url: https://github.com - ##################### # Job Configuration # ##################### properties: - github: - url: '{github-url}/{github-org}/{project}' + url: '{git-url}/{github-org}/{project}' scm: - lf-infra-github-scm: - url: '{github-url}/{github-org}/{project}' + url: '{git-clone-url}{github-org}/{project}' refspec: '' branch: '{branch}' submodule-recursive: '{submodule-recursive}' @@ -225,15 +244,10 @@ - job-template: name: '{project-name}-jjb-verify' id: github-jjb-verify + concurrent: true <<: *lf_jjb_verify_merge # yamllint disable-line rule:key-duplicates - <<: *lf_jjb_merge_builders - - ###################### - # Default parameters # - ###################### - - github-url: https://github.com + <<: *lf_jjb_verify_builders ##################### # Job Configuration # @@ -241,11 +255,11 @@ properties: - github: - url: '{github-url}/{github-org}/{project}' + url: '{git-url}/{github-org}/{project}' scm: - lf-infra-github-scm: - url: '{github-url}/{github-org}/{project}' + url: '{git-clone-url}{github-org}/{project}' refspec: '+refs/pull/*:refs/remotes/origin/pr/*' branch: '{branch}' submodule-recursive: '{submodule-recursive}'