Add skeleton for datafile verify job
[infra/cicd.git] / jjb / global / jjb-macros.yaml
index e4f23a2d29f098b661fb1d8251554be31dfcf9c1..c5cd27f8e0e41f75d8179c5d9e7e713f25f1e8b3 100644 (file)
 - scm:
     name: git-scm
     scm:
-      - git: &git-scm-defaults
+      - git:
           url: '$GIT_BASE_HTTPS/$PROJECT'
           branches:
-            - 'origin/$BRANCH'
+            - 'refs/heads/{branch}'
+          refspec: '{refspec}'
           timeout: 15
           per-build-tag: false
           skip-tag: true
           ignore-notify: false
           wipe-workspace: true
           prune: false
+          choosing-strategy: 'default'
 
 - scm:
     name: git-scm-gerrit
     scm:
       - git:
+          url: '$GIT_BASE_HTTPS/$PROJECT'
+          branches:
+            - 'refs/heads/{branch}'
+          refspec: '{refspec}'
+          timeout: 15
+          per-build-tag: false
+          skip-tag: true
+          shallow-clone: false
+          use-author: false
+          ignore-notify: false
+          wipe-workspace: true
+          prune: false
           choosing-strategy: 'gerrit'
-          refspec: '$GERRIT_REFSPEC'
-          <<: *git-scm-defaults
 
 # triggers for Nordix and upstream Gerrits
 - trigger: