Fix git-scm configuration
[infra/cicd.git] / jjb / infra / jjb-verify.yaml
index 61a0f0add9fc6412ea148ae09ef7e7b22471f26e..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,8 +40,9 @@
           branch: '{branch}'
           files: 'jjb/**'
 
-    builders:
-      - shell: |
-          #!/bin/bash
+    wrappers:
+      - nordixinfra-jjb-creds-wrapper
 
-          echo "Hello World!"
+    builders:
+      - shell:
+          !include-raw-escape: ./jjb-verify.sh