Create periodic build jobs for initial list of Eiffel projects
[infra/cicd.git] / jjb / eiffel / global-eiffel-container-build.yaml
index 00f704d4ed3c53014c7eb98f6cc961134581869f..9c01b26b93484ff37781547618aff1ef28363164 100644 (file)
       - project-parameters:
           project: '{project}'
           branch: '{branch}'
-      - eiffel-parameters
+      - string:
+          name: GIT_BASE_HTTPS
+          default: https://github.com/eiffel-community
+          description: HTTPS URL of Project Repo on GitHub to clone repo.
+      - string:
+          name: GIT_BASE_SSH
+          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.
+      - choice:
+          name: HARBOR_EIFFEL_PROJECT
+          choices:
+            - eiffel
+            - eiffel-playground
+          description: Project to push container images to. Default is eiffel. eiffel-playground is for development purposes.
+      - choice:
+          name: PODMAN_LOG_LEVEL
+          choices:
+            - error
+            - debug
+            - info
+            - warn
+            - fatal
+            - panic
+          description: Podman log level to use. Default is error.
+      - string:
+          name: NORDIX_REGISTRY
+          default: 'registry.nordix.org'
+          description: Nordix container image registry.
 
     scm:
-      - git-scm-github:
-          branch: '$BRANCH'
+      - git:
+          url: 'https://github.com/eiffel-community/$PROJECT.git'
+          branches:
+            - '*/{branch}'
           refspec: ''
-          wipe_workspace: true
-          clean_before: false
-          base_dir: '$WORKSPACE'
+          timeout: 15
+          per-build-tag: false
+          skip-tag: true
+          shallow-clone: false
+          use-author: false
+          ignore-notify: false
+          wipe-workspace: true
+          prune: false
+          clean:
+            after: false
+            before: false
+          choosing-strategy: 'default'
+          basedir: '$WORKSPACE'
+
 
     triggers:
       - pollscm:
@@ -50,6 +94,9 @@
     wrappers:
       - build-timeout:
           timeout: 10
+      - mask-passwords
+      - openstack:
+          single-use: True
 
     builders:
       - shell: