Improve jjb for pti rtp project
[ci-management.git] / jjb / pti-rtp / pti-rtp.yaml
index fed0685..e19d2dd 100644 (file)
     jobs:
       - gerrit-info-yaml-verify
 
+- pti_rtp_common: &pti_rtp_common
+    name: pti-rtp-common
+    # git repo
+    project: pti/rtp
+    # jenkins job name prefix
+    project-name: pti-rtp
+    # maven settings file has credentials
+    mvn-settings: pti-rtp-settings
+    mvn-site-id: site
+    # use a centos with big memory; docker not required
+    build-node: centos7-docker-2c-8g
+    # use a non-recursive pattern
+    archive-artifacts: '*.log'
+
+- project:
+    <<: *pti_rtp_common
+    name: pti-rtp-verify
+    # runs about 40 minutes
+    build-timeout: 60
+    script: !include-raw-escape:
+        - install-yocto-prereq-centos.sh
+        - verify-yocto.sh
+    jobs:
+      - oran-shell-verify
+
+- project:
+    <<: *pti_rtp_common
+    name: pti-rtp-merge
+    # runs about 40 minutes
+    build-timeout: 60
+    script: !include-raw-escape:
+        - install-yocto-prereq-centos.sh
+        - verify-yocto.sh
+    jobs:
+      - oran-shell-merge
+
+- project:
+    <<: *pti_rtp_common
+    name: pti-rtp-release-merge
+    # demand 200GB storage
+    build-node: centos7-docker-2c-8g-200g
+    # runs about 18 hours
+    build-timeout: 1200
+    script: !include-raw-escape:
+        - install-yocto-prereq-centos.sh
+        - build-yocto.sh
+        - upload-yocto.sh
+    jobs:
+      - oran-shell-release