Fix git-scm configuration
[infra/cicd.git] / jjb / infra / jjb-verify.yaml
index 349fc1675136b9b7399f98f8e567db21eba65b7a..119b3b4f0ced90253016e34e8207b28ef13f44b8 100644 (file)
@@ -20,6 +20,8 @@
 
     disabled: false
 
+    concurrent: true
+
     parameters:
       - infra-parameters
       - project-parameters:
           branch: '{branch}'
       - nordix-gerrit-parameters
 
-    builders:
-      - shell: |
-          #!/bin/bash
+    scm:
+      - git-scm-gerrit:
+          branch: '{branch}'
+          refspec: $GERRIT_REFSPEC
+
+    triggers:
+      - nordix-gerrit-trigger-patchset-created:
+          project: '{project}'
+          branch: '{branch}'
+          files: 'jjb/**'
 
-          echo "Hello World!"
+    wrappers:
+      - nordixinfra-jjb-creds-wrapper
+
+    builders:
+      - shell:
+          !include-raw-escape: ./jjb-verify.sh