Chore: Upgrade Jenkins-job-builder to 6.3.0
[releng/global-jjb.git] / .jjb-test / lf-ci-jobs.yaml
index 63f94bf..f66be15 100644 (file)
@@ -3,7 +3,6 @@
     name: gerrit-ci-jobs
     jobs:
       - "{project-name}-ci-jobs"
-      - gerrit-branch-lock
 
     project-name: gerrit-ciman
 
@@ -13,7 +12,7 @@
       - "{project-name}-github-ci-jobs"
 
     project-name: github-ciman
-
+    github-org: fake-org
 
 - project:
     name: gerrit-openstack-jobs
 
     project-name: gerrit-ciman
 
+    jenkins-urls: >
+      https://jenkins.example.org
+      https://jenkins.example.org/sandbox
+
 - project:
     name: github-openstack-jobs
     jobs:
       - github-openstack-cron
 
     project-name: github-ciman
+    github-org: fake-org
 
+    jenkins-urls: >
+      https://jenkins.example.org
+      https://jenkins.example.org/sandbox
 
 - project:
     name: gerrit-packer-jobs
@@ -52,6 +59,7 @@
 
     packer-cloud-settings: ci-packer-cloud-env
     project-name: github-ciman
+    github-org: fake-org
     platforms:
       - centos
       - ubuntu1604
       - java-builder
       - mininet
 
+    update-cloud-images: false
+
+- project:
+    name: throttle-ci-jobs
+    jobs:
+      - "{project-name}-ci-jobs"
+
+    throttle-enabled: true
+    throttle_categories:
+      - "cat1"
+      - "cat2"
+    throttle-max-per-node: 3
+    throttle-max-total: 2
+    throttle-option: "category"
+
+    project-name: throttle-ciman
+
 - project:
     name: ci-jobs-view
-    project-name: ci-jobs
     views:
-      - common-view
-    view-regex: '.*-ci-jobs$|.*-openstack-jobs$|.*-packer-jobs$'
-    view-description: 'List of ci-jobs, openstack and packer jobs'
+      - project-view
+
+    project-name: ci-jobs
+
+# required by gerrit-sonar-prescan and github-sonar-prescan
+- builder:
+    name: lf-sonar-prescan
+    builders:
+      - shell: "#!/bin/sh"
+
+- project:
+    name: gerrit-sonar-jobs
+    project-name: gerrit-ciman
+    jobs:
+      - gerrit-sonar
+      - gerrit-sonar-prescan
+      - gerrit-sonar-prescan-script:
+          sonar-prescan-script: "#!/bin/sh"
+
+- project:
+    name: github-sonar-jobs
+    project-name: github-ciman
+    jobs:
+      - github-sonar
+      - github-sonar-prescan
+      - github-sonar-prescan-script:
+          sonar-prescan-script: "#!/bin/sh"
+
+    github-org: fake-org