Fix git-scm configuration
[infra/cicd.git] / jjb / infra / jjb-verify.yaml
index c31eb5cdc5eca090a02de98d1ddbda62807412d4..119b3b4f0ced90253016e34e8207b28ef13f44b8 100644 (file)
@@ -3,7 +3,7 @@
 
     name: infra-jjb-verify
 
-    project: 'infra/cicd'
+    project: infra/cicd
 
     stream:
       - master:
 
     disabled: false
 
+    concurrent: true
+
     parameters:
-      - project-parameter:
+      - infra-parameters
+      - project-parameters:
           project: '{project}'
           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