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 "[docs] Limit git submodule recurse to depth 1"
[releng.git]
/
jjb
/
openci
/
openci-opnfv-daily-jobs.yaml
diff --git
a/jjb/openci/openci-opnfv-daily-jobs.yaml
b/jjb/openci/openci-opnfv-daily-jobs.yaml
index
40e61ce
..
afa8eff
100644
(file)
--- a/
jjb/openci/openci-opnfv-daily-jobs.yaml
+++ b/
jjb/openci/openci-opnfv-daily-jobs.yaml
@@
-44,15
+44,22
@@
name: SCENARIO_METADATA_LOCATION
default: https://url/to/scenario/metadata/on/opnfv/artifact/repo/$BUILD_NUMBER
description: 'The location of the scenario metadata'
name: SCENARIO_METADATA_LOCATION
default: https://url/to/scenario/metadata/on/opnfv/artifact/repo/$BUILD_NUMBER
description: 'The location of the scenario metadata'
- - 'opnfv-build-defaults'
+ - label:
+ name: SLAVE_LABEL
+ default: 'xci-virtual'
wrappers:
wrappers:
+ - credentials-binding:
+ - username-password-separated:
+ credential-id: openci-connect-activemq
+ username: ACTIVEMQ_USER
+ password: ACTIVEMQ_PASSWORD
- workspace-cleanup
triggers:
- jms-messaging:
provider-name: openci.activemq
- workspace-cleanup
triggers:
- jms-messaging:
provider-name: openci.activemq
- selector: JMSType = 'ArtifactPublishedEvent' and JMSOrigin = '
ODL
'
+ selector: JMSType = 'ArtifactPublishedEvent' and JMSOrigin = '
{origin}
'
builders:
- shell: |
builders:
- shell: |
@@
-65,8
+72,6
@@
echo "----------------------------------"
- shell:
!include-raw-escape: ./create-cde.sh
echo "----------------------------------"
- shell:
!include-raw-escape: ./create-cde.sh
- - inject:
- properties-file: "$WORKSPACE/event.properties"
- job-template:
name: 'openci-opnfv-{scenario}-test-daily-{stream}'
- job-template:
name: 'openci-opnfv-{scenario}-test-daily-{stream}'
@@
-96,19
+101,22
@@
name: CONFIDENCE_LEVEL
default: "'opnfvdaily': 'SUCCESS'"
description: 'The confidence level the published artifact gained'
name: CONFIDENCE_LEVEL
default: "'opnfvdaily': 'SUCCESS'"
description: 'The confidence level the published artifact gained'
- - 'opnfv-build-defaults'
+ - label:
+ name: SLAVE_LABEL
+ default: 'xci-virtual'
+
+ wrappers:
+ - credentials-binding:
+ - username-password-separated:
+ credential-id: openci-connect-activemq
+ username: ACTIVEMQ_USER
+ password: ACTIVEMQ_PASSWORD
+ - workspace-cleanup
triggers:
- jms-messaging:
provider-name: openci.activemq
triggers:
- jms-messaging:
provider-name: openci.activemq
- selector: CI_TYPE = 'custom'
- checks:
- - field: origin
- expected-value: 'OPNFV'
- - field: type
- expected-value: 'CompositionDefinedEvent'
- - field: scenario
- expected-value: '{scenario}'
+ selector: JMSType = 'CompositionDefinedEvent' and JMSOrigin = 'OPNFV' and JMSScenario = '{scenario}'
builders:
- shell: |
builders:
- shell: |
@@
-121,16
+129,3
@@
echo "----------------------------------"
- shell:
!include-raw-escape: ./create-clme.sh
echo "----------------------------------"
- shell:
!include-raw-escape: ./create-clme.sh
- - inject:
- properties-file: "$WORKSPACE/event.properties"
-
- publishers:
- - jms-messaging:
- provider-name: openci.activemq
- msg-type: Custom
- msg-props: |
- type=$type
- origin=$origin
- scenario=$scenario
- msg-content:
- $eventBody