Fix git-scm configuration
[infra/cicd.git] / jjb / infra / jjb-verify.yaml
index 41113a99dce19094b9e34ac8a325f4772262dc5c..119b3b4f0ced90253016e34e8207b28ef13f44b8 100644 (file)
@@ -30,7 +30,9 @@
       - nordix-gerrit-parameters
 
     scm:
-      - git-scm-gerrit
+      - git-scm-gerrit:
+          branch: '{branch}'
+          refspec: $GERRIT_REFSPEC
 
     triggers:
       - nordix-gerrit-trigger-patchset-created:
@@ -38,6 +40,9 @@
           branch: '{branch}'
           files: 'jjb/**'
 
+    wrappers:
+      - nordixinfra-jjb-creds-wrapper
+
     builders:
       - shell:
           !include-raw-escape: ./jjb-verify.sh