Code Review
/
ci-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
iec: Add jobs for testing usecases
[ci-management.git]
/
jjb
/
akraino-templates
/
akraino-iec-templates.yaml
diff --git
a/jjb/akraino-templates/akraino-iec-templates.yaml
b/jjb/akraino-templates/akraino-iec-templates.yaml
index
15664d4
..
72f331c
100644
(file)
--- a/
jjb/akraino-templates/akraino-iec-templates.yaml
+++ b/
jjb/akraino-templates/akraino-iec-templates.yaml
@@
-62,7
+62,10
@@
- project:
!j2: |
{%- for uc in usecase -%}
- project:
!j2: |
{%- for uc in usecase -%}
- iec-{{ iecType }}-install-{{ uc | first }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
+ {%- for ph in phase -%}
+ iec-{{ iecType }}-{{ ph }}-{{ uc }}-{{ installer }}-{{ deploy_type }}-{{ os }}-daily-{{ stream }}
+ {%- if not loop.last -%},{%- endif -%}
+ {%- endfor %}
{%- if not loop.last -%},{%- endif -%}
{%- endfor %}
current-parameters: true
{%- if not loop.last -%},{%- endif -%}
{%- endfor %}
current-parameters: true
@@
-124,9
+127,8
@@
- git:
credentials-id: '{jenkins-ssh-credential}'
url: '{git-url}/{project}.git'
- git:
credentials-id: '{jenkins-ssh-credential}'
url: '{git-url}/{project}.git'
- refspec: ''
- branches:
- - 'refs/heads/{branch}'
+ refspec: '$GERRIT_REFSPEC'
+ branches: '$GERRIT_BRANCH'
skip-tag: true
wipe-workspace: true
submodule:
skip-tag: true
wipe-workspace: true
submodule:
@@
-197,8
+199,8
@@
publishers: *publishers
- job-template:
publishers: *publishers
- job-template:
- id: akraino-iec-
install
-usecase
- name: 'iec-{iecType}-
install
-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
+ id: akraino-iec-
phase
-usecase
+ name: 'iec-{iecType}-
{phase}
-{usecase}-{installer}-{deploy_type}-{os}-daily-{stream}'
concurrent: true
node: '{slave-label}'
properties: *properties
concurrent: true
node: '{slave-label}'
properties: *properties
@@
-210,6
+212,7
@@
branch: '{branch}'
- '{project}-defaults'
- '{installer}-{os}-defaults'
branch: '{branch}'
- '{project}-defaults'
- '{installer}-{os}-defaults'
+ - '{usecase}-defaults'
wrappers:
- build-name:
wrappers:
- build-name:
@@
-222,4
+225,3
@@
!include-raw-escape: ../iec/iec-{usecase}.sh
publishers: *publishers
!include-raw-escape: ../iec/iec-{usecase}.sh
publishers: *publishers
-