Apex: updates cache to unique name
[releng.git] / jjb / apex / apex.yml
index 699bdb3..1e13cbd 100644 (file)
@@ -1,7 +1,6 @@
 - project:
     name: 'apex'
     project: 'apex'
-    build-slave: 'apex-build'
     jobs:
         - 'apex-verify-{stream}'
         - 'apex-verify-gate-{stream}'
                 - name: 'apex-build-{stream}'
                   current-parameters: false
                   predefined-parameters: |
+                    ARTIFACT_VERSION=$ARTIFACT_VERSION
                     GERRIT_BRANCH=$GERRIT_BRANCH
                     GERRIT_REFSPEC=$GERRIT_REFSPEC
                     GERRIT_CHANGE_NUMBER=$GERRIT_CHANGE_NUMBER
             gs-pathname: '{gs-pathname}'
 
     scm:
-        - git-scm
+        - git-scm-gerrit
+
+    wrappers:
+        - timeout:
+            timeout: 90
+            fail: true
 
     properties:
         - logrotate-default
     scm:
         - git-scm
 
+    wrappers:
+        - timeout:
+            timeout: 120
+            fail: true
+
     parameters:
         - project-parameter:
             project: '{project}'
     #     branch:    branch (eg. stable)
     project-type: 'multijob'
 
-    node: '{build-slave}'
+    node: 'apex-baremetal-danube'
 
     disabled: false
 
 
     properties:
         - logrotate-default
-        - build-blocker:
-            use-build-blocker: true
-            block-level: 'NODE'
-            blocking-jobs:
-                - 'apex-verify.*'
-                - 'apex-deploy.*'
-                - 'apex-runner.*'
-                - 'apex-.*-promote.*'
 
     triggers:
         - 'apex-danube'
     #     branch:    branch (eg. stable)
     project-type: 'multijob'
 
-    node: '{build-slave}'
+    node: 'apex-baremetal-master'
 
     disabled: false
 
 
     properties:
         - logrotate-default
-        - build-blocker:
-            use-build-blocker: true
-            block-level: 'NODE'
-            blocking-jobs:
-                - 'apex-verify.*'
-                - 'apex-deploy.*'
-                - 'apex-runner.*'
-                - 'apex-.*-promote.*'
 
     triggers:
         - 'apex-master'
             name: upload snapshot
             condition: SUCCESSFUL
             projects:
-              - name: 'apex-create-snapshot'
+              - name: 'apex-upload-snapshot'
                 current-parameters: true
                 node-parameters: true
                 kill-phase-on: FAILURE
             name: upload snapshot
             condition: SUCCESSFUL
             projects:
-              - name: 'apex-create-snapshot'
+              - name: 'apex-upload-snapshot'
                 current-parameters: true
                 node-parameters: true
                 kill-phase-on: FAILURE
             description: "Directory where the build artifact will be located upon the completion of the build."
         - string:
             name: CACHE_DIRECTORY
-            default: $HOME/opnfv/cache{gs-pathname}
+            default: $HOME/opnfv/apex-cache{gs-pathname}
             description: "Directory where the cache to be used during the build is located."
         - string:
             name: GIT_BASE