summaryrefslogtreecommitdiffstats
path: root/jjb/apex/apex.yml.j2
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-06-01 15:51:30 -0400
committerTim Rozet <trozet@redhat.com>2017-06-01 15:51:30 -0400
commit3c9586d2ea6e32940e9fa311de495520d26c719d (patch)
treeaaff131f3facb74eecafe878acf67c5850b61683 /jjb/apex/apex.yml.j2
parent8efe44853121774b32960149e8c8323038235d5b (diff)
Apex: fixes snapshot promotion be variables
Since job names changed during the migration to multijob, we need to update the scripts which assume the the snapshot type is part of the job name. Moving them to be jjb variables instead and not rely on job name. Change-Id: I18f3bd5488c36b2f82a7bc7cb80045ab6807fa57 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'jjb/apex/apex.yml.j2')
-rw-r--r--jjb/apex/apex.yml.j216
1 files changed, 12 insertions, 4 deletions
diff --git a/jjb/apex/apex.yml.j2 b/jjb/apex/apex.yml.j2
index b040ba5bf..84a899f57 100644
--- a/jjb/apex/apex.yml.j2
+++ b/jjb/apex/apex.yml.j2
@@ -820,7 +820,9 @@
condition: SUCCESSFUL
projects:
- name: 'apex-create-snapshot'
- current-parameters: true
+ current-parameters: false
+ predefined-parameters: |
+ SNAP_TYPE=csit
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
@@ -830,7 +832,9 @@
condition: SUCCESSFUL
projects:
- name: 'apex-upload-snapshot'
- current-parameters: true
+ current-parameters: false
+ predefined-parameters: |
+ SNAP_TYPE=csit
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
@@ -908,7 +912,9 @@
condition: SUCCESSFUL
projects:
- name: 'apex-create-snapshot'
- current-parameters: true
+ current-parameters: false
+ predefined-parameters: |
+ SNAP_TYPE=fdio
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
@@ -918,7 +924,9 @@
condition: SUCCESSFUL
projects:
- name: 'apex-upload-snapshot'
- current-parameters: true
+ current-parameters: false
+ predefined-parameters: |
+ SNAP_TYPE=fdio
node-parameters: true
kill-phase-on: FAILURE
abort-all-job: true