Code Review
/
releng.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "dovetail: add a suitable job used for vpn test case validation in CI"
[releng.git]
/
jjb
/
releng
/
testapi-automate.yml
diff --git
a/jjb/releng/testapi-automate.yml
b/jjb/releng/testapi-automate.yml
index
1c0bd5d
..
8f3ae0c
100644
(file)
--- a/
jjb/releng/testapi-automate.yml
+++ b/
jjb/releng/testapi-automate.yml
@@
-6,12
+6,10
@@
gs-pathname: ''
phase:
gs-pathname: ''
phase:
- - 'docker-update':
- slave-label: 'opnfv-build'
+ - 'docker-update'
- 'docker-deploy':
slave-label: 'testresults'
- 'docker-deploy':
slave-label: 'testresults'
- - 'generate-doc':
- slave-label: 'opnfv-build'
+ - 'generate-doc'
jobs:
- 'testapi-automate-{stream}'
jobs:
- 'testapi-automate-{stream}'
@@
-23,12
+21,18
@@
- job:
name: 'testapi-mongodb-backup'
- job:
name: 'testapi-mongodb-backup'
- slave-label: 'testresults'
-
parameters:
parameters:
+ - label:
+ name: SLAVE_LABEL
+ default: 'testresults'
+ description: 'Slave label on Jenkins'
- project-parameter:
- project-parameter:
- project: '{project}'
- branch: '{branch}'
+ project: 'releng'
+ branch: 'master'
+ - string:
+ name: GIT_BASE
+ default: https://gerrit.opnfv.org/gerrit/releng
+ description: 'Git URL to use on this Jenkins Slave'
scm:
- git-scm
scm:
- git-scm
@@
-95,7
+99,6
@@
healthy: 50
unhealthy: 40
failing: 30
healthy: 50
unhealthy: 40
failing: 30
- - 'email-publisher'
- job-template:
name: 'testapi-automate-{stream}'
- job-template:
name: 'testapi-automate-{stream}'
@@
-153,6
+156,7
@@
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-docker-update-{stream}'
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-docker-update-{stream}'
+ current-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
@@
-160,6
+164,11
@@
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-docker-deploy-{stream}'
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-docker-deploy-{stream}'
+ current-parameters: false
+ predefined-parameters: |
+ GIT_BASE=$GIT_BASE
+ node-label-name: SLAVE_LABEL
+ node-label: testresults
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
kill-phase-on: FAILURE
abort-all-job: true
- multijob:
@@
-167,6
+176,7
@@
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-generate-doc-{stream}'
condition: SUCCESSFUL
projects:
- name: 'testapi-automate-generate-doc-{stream}'
+ current-parameters: true
kill-phase-on: FAILURE
abort-all-job: true
kill-phase-on: FAILURE
abort-all-job: true
@@
-248,7
+258,8
@@
name: 'testapi-automate-docker-deploy-macro'
builders:
- shell: |
name: 'testapi-automate-docker-deploy-macro'
builders:
- shell: |
- bash ./jjb/releng/testapi-docker-deploy.sh
+ echo 'disable TestAPI update temporarily due to frequent change'
+# bash ./jjb/releng/testapi-docker-deploy.sh
################################
# job publishers
################################
# job publishers
@@
-258,6
+269,6
@@
name: 'email-publisher'
publishers:
- email:
name: 'email-publisher'
publishers:
- email:
- recipients: rohitsakala@gmail.com
serena.feng.711@gmail.com
+ recipients: rohitsakala@gmail.com
feng.xiaowei@zte.com.cn
notify-every-unstable-build: false
send-to-individuals: true
notify-every-unstable-build: false
send-to-individuals: true