Add it/test
[infra/cicd.git] / jjb / acumos / global-templates-acumos-rebase.yaml
index 29865cfa7fbf36ba7dd78f9b362a5754b611dc71..f18732c3f98279fdc008b8cf2c1866cea3734d60 100644 (file)
@@ -1,7 +1,7 @@
 - job-template:
     name: 'acumos-{project-name}-rebase'
 
-    node: infra-ubuntu1804
+    node: infra-ubuntu2004
 
     disabled: false
 
 
     parameters:
       - acumos-gerrit-parameters
+      - string:
+          name: PROJECT
+          default: '{project}'
+          description: JJB configured PROJECT parameter to identify a Nordix Gerrit project
       - string:
           name: NORDIX_REMOTE
           default: 'ssh://infra@gerrit.nordix.org:29418/acumos/{project}.git'
     wrappers:
       - build-timeout:
           timeout: 10
+      - ssh-agent-credentials:
+          users:
+            - 'nordixinfra-nordix-gerrit-ssh'
 
     builders:
       - shell:
-          !include-raw-escape: ./rebase-jobs.sh
+          !include-raw-escape: ../global/rebase-jobs.sh
 
     publishers:
       - notify-slack:
           slack-channel: '#infra'
+          notify-start: false
+          notify-success: false
+          notify-failure: true
+          notify-back-to-normal: true