eiffel: Create periodic build jobs for initial set of etos repos
[infra/cicd.git] / jjb / eiffel / global-eiffel-container-build.yaml
index cf2880096aeef09037b661bc56c185dd18801575..a531f26c7814e69c917e28766af089d0b394f233 100644 (file)
@@ -18,7 +18,7 @@
 # ============LICENSE_END=========================================================
 
 - job-template:
-    name: '{project-name}-build-{distro}-{stream}-periodic'
+    name: '{project-name}-build-periodic-{distro}-{stream}'
 
     node: 'eiffel-build-{distro}'
 
           default: git@github.com:eiffel-community
           description: SSH URL of Project Repo on GitHub to clone repo.
       - string:
-          name: PROJECT_BUILD_ROOT
-          default: '{project-build-root}'
-          description: Dockerfiles are located in different paths so this sets the path to navigate in the clone.
+          name: IMAGE_DOCKERFILE
+          default: '{image-dockerfile}'
+          description: Dockerfile to use for building the container image
+      - string:
+          name: IMAGE_NAME
+          default: '{image-name}'
+          description: Name of the container image
+      - string:
+          name: IMAGE_TAG
+          default: '{image-tag}'
+          description: Tag to apply to the container image
       - choice:
           name: HARBOR_EIFFEL_PROJECT
           choices:
@@ -68,7 +76,7 @@
 
     scm:
       - git:
-          url: 'https://github.com/eiffel-community/$PROJECT.git'
+          url: 'https://github.com/eiffel-community/{project-git-repo}.git'
           branches:
             - '*/{branch}'
           refspec: ''
           single-use: True
 
     builders:
-      - shell:
-          !include-raw-escape: ./scripts/eiffel-container-build-tag-push.sh
+      - '{project-build-macro}'
 
 # vim: set ts=2 sw=2 expandtab: