Merge "Update plots: Clean up k6 test suite"
[infra/cicd.git] / jjb / metal3 / job_ci_image_building.yml
index 1512313f49ccfc2f5cedd6ecc71da456924cd73a..a036f9445d5420cf582ba262c120f88ca3aae43f 100644 (file)
 
 - job-template:
     id: ci_image_building
-    name: '{job_prefix}_ci_image_building'
+    name: '{job_prefix}_periodic_ci_image_building'
     description: "Builder job for CI images for Metal3 CI"
     project-type: pipeline
     defaults: global
     disabled: False
     concurrent: True
+    parameters:
+    - string:
+        name: IMAGE_TYPE
+        default: 'ci'
+        description: 'Specifies the type of image being built in pipeline' 
 
     properties:
     - build-discarder:
@@ -40,6 +45,9 @@
         artifact-days-to-keep: -1
         artifact-num-to-keep: -1
 
+    triggers:
+    - timed: "0 6 */14 * *"
+
     pipeline-scm:
       scm:
       - git:
@@ -52,5 +60,5 @@
           wipe-workspace: True
           honor-refspec: True
           shallow-clone: False
-      script-path: 'jenkins/jobs/{id}.pipeline'
+      script-path: "{image_building_pipeline}"
       lightweight-checkout: False