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